#0F2176#0F2176
#0F2176 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.145 H 266.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2176 |
|---|---|
| RGB | rgb(15, 33, 118) |
| HSL | hsl(230, 77%, 26%) |
| HSV | hsv(230, 87%, 46%) |
| CMYK | cmyk(87.3%, 72%, 0%, 53.7%) |
| CIE-LAB | lab(17.90, 27.92, -50.09) |
| CIE-LCH | lch(17.90, 57.35, 299.13°) |
| OKLab | oklab(30.34% -0.008 -0.1452) |
| OKLCH | oklch(30.34% 0.145 266.8) |
| XYZ | xyz(4.0097, 2.4968, 17.4066) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.75
Royal
#0C1793
ΔE00 5.52
Dark Royal Blue
#02066F
ΔE00 6.38
Darkblue (survey)
#030764
ΔE00 6.59
Deep Blue
#040273
ΔE00 7.05
Navy
#000080
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2176 #76640F
analogous
#0F5476 #0F2176 #300F76
triadic
#0F2176 #760F21 #21760F
tetradic
#0F2176 #760F54 #76640F #0F7630
square
#0F2176 #760F54 #76640F #0F7630
split-complementary
#0F2176 #76300F #54760F
monochromatic
#03081B #081240 #0F2176 #1630AC #1D40E2
Accessibility & contrast
On white
14.01
#0F2176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#0F2176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2176
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2176 | 1.00 | 14.01 | 1.50 | 14.01 |
| #FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #0f2176; /* rgb */ color: rgb(15, 33, 118); /* oklch */ color: oklch(30.3% 0.145 266.8);
Tailwind
colors: {
custom: {
50: '#645c9e',
500: '#0f2176',
950: '#000000',
},
}SCSS
$custom: #0f2176; $custom-light: #645c9e; $custom-dark: #000000;
JSON
{
"hex": "#0f2176",
"rgb": {
"r": 15,
"g": 33,
"b": 118
},
"hsl": {
"h": 229.515,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.30342,
"c": 0.14541,
"h": 266.8
},
"luminance": 0.02497
}Semantic roles & 50–950 ramp
primary
#0F2176
secondary
#AD9833
accent
#D234F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E