HSL(201, 96%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(201,96%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(201, 96%, 34%) | color: hsl(201, 96%, 34%) | |
| HEX | #0370AA | color: #0370AA | |
| RGB | rgb(3, 112, 170) | color: rgb(3, 112, 170) | |
| CMYK | cmyk(98%, 34%, 0%, 33%) | — | |
| HSV | hsv(201, 98%, 67%) | — | |
| HWB | hwb(201 1% 33%) | color: hwb(201 1% 33%) | |
| OKLCH | oklch(0.5226 0.1234 242.15) | color: oklch(0.5226 0.1234 242.15) | |
| Lab | lab(44.95 -4.56 -38.31) | color: lab(44.95 -4.56 -38.31) | |
| LCH | lch(44.95 38.58 263.21) | color: lch(44.95 38.58 263.21) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#32339C — rgb(50, 51, 156)
Deuteranopia (Green-blind)
#2C2499 — rgb(44, 36, 153)
Tritanopia (Blue-blind)
#08918E — rgb(8, 145, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(201, 96%, 34%);
text
color: hsl(201, 96%, 34%);
border
border: 2px solid hsl(201, 96%, 34%);
gradient light
background: linear-gradient(to right, hsl(201, 96%, 54%), hsl(201, 96%, 34%));
gradient dark
background: linear-gradient(to right, hsl(201, 96%, 34%), hsl(201, 96%, 14%))
hex
background-color: #0370AA;
tailwind
bg-[hsl(201,96%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(201, 96%, 34%, 0.4);
css variable
--color-primary: hsl(201, 96%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(201, 96%, 34%)?
HEX: #0370AA | RGB: rgb(3, 112, 170) | CMYK: 98%, 34%, 0%, 33% | HSV: 201°, 98%, 67%. Copy any format from the conversion table above.
What colors go well with #0370AA?
The complementary color is HSL(21, 96%, 34%). For a triadic harmony, use hues 201°, 321°, and 81°. For analogous combinations, try hues 171° and 231°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(201, 96%, 34%) in CSS?
As HSL: color: hsl(201, 96%, 34%); — As HEX: color: #0370AA; — As RGB: color: rgb(3, 112, 170); — Tailwind CSS: bg-[hsl(201,96%,34%)] — CSS variable: --color-primary: hsl(201, 96%, 34%);