#0F1976#0F1976
#0F1976 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.154 H 268.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #0F1976 |
|---|---|
| RGB | rgb(15, 25, 118) |
| HSL | hsl(234, 77%, 26%) |
| HSV | hsv(234, 87%, 46%) |
| CMYK | cmyk(87.3%, 78.8%, 0%, 53.7%) |
| CIE-LAB | lab(16.03, 33.13, -53.19) |
| CIE-LCH | lch(16.03, 62.67, 301.92°) |
| OKLab | oklab(28.99% -0.0052 -0.1542) |
| OKLCH | oklch(28.99% 0.154 268.1) |
| XYZ | xyz(3.8135, 2.1044, 17.3412) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.28
Dark Royal Blue
#02066F
ΔE00 4.06
Royal
#0C1793
ΔE00 4.42
Darkblue (survey)
#030764
ΔE00 4.56
Deep Blue
#040273
ΔE00 4.67
Navy
#000080
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F1976 #766C0F
analogous
#0F4C76 #0F1976 #380F76
triadic
#0F1976 #760F19 #19760F
tetradic
#0F1976 #760F4C #766C0F #0F7638
square
#0F1976 #760F4C #766C0F #0F7638
split-complementary
#0F1976 #76380F #4C760F
monochromatic
#03061B #080D40 #0F1976 #1625AC #1D30E2
Accessibility & contrast
On white
14.78
#0F1976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#0F1976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F1976
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F1976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F1976 | 1.00 | 14.78 | 1.42 | 14.78 |
| #FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #0f1976; /* rgb */ color: rgb(15, 25, 118); /* oklch */ color: oklch(29.0% 0.154 268.1);
Tailwind
colors: {
custom: {
50: '#65579f',
500: '#0f1976',
950: '#000000',
},
}SCSS
$custom: #0f1976; $custom-light: #65579f; $custom-dark: #000000;
JSON
{
"hex": "#0f1976",
"rgb": {
"r": 15,
"g": 25,
"b": 118
},
"hsl": {
"h": 234.175,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.28993,
"c": 0.15426,
"h": 268.1
},
"luminance": 0.02105
}Semantic roles & 50–950 ramp
primary
#0F1976
secondary
#ADA233
accent
#E134F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E