#0F3166#0F3166
#0F3166 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.101 H 259.3°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).
Color values
| HEX | #0F3166 |
|---|---|
| RGB | rgb(15, 49, 102) |
| HSL | hsl(217, 74%, 23%) |
| HSV | hsv(217, 85%, 40%) |
| CMYK | cmyk(85.3%, 52%, 0%, 60%) |
| CIE-LAB | lab(21.05, 9.67, -34.62) |
| CIE-LCH | lch(21.05, 35.94, 285.60°) |
| OKLab | oklab(32.24% -0.0188 -0.0996) |
| OKLCH | oklch(32.24% 0.101 259.3) |
| XYZ | xyz(3.6927, 3.2570, 13.0018) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.38
Marine Blue
#01386A
ΔE00 3.39
Navy Blue
#1B2A4A
ΔE00 5.79
Darkish Blue
#014182
ΔE00 6.21
Twilight Blue
#0A437A
ΔE00 6.54
Prussian Blue
#004577
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F3166 #66440F
analogous
#0F5C66 #0F3166 #190F66
triadic
#0F3166 #660F31 #31660F
tetradic
#0F3166 #660F5C #66440F #0F6619
square
#0F3166 #660F5C #66440F #0F6619
split-complementary
#0F3166 #66190F #5C660F
monochromatic
#040D1B #071731 #0F3166 #174B9B #1F64D1
Accessibility & contrast
On white
12.72
#0F3166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#0F3166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F3166
12.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F3166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F3166 | 1.00 | 12.72 | 1.65 | 12.72 |
| #FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123768
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#003E46
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #0f3166; /* rgb */ color: rgb(15, 49, 102); /* oklch */ color: oklch(32.2% 0.101 259.3);
Tailwind
colors: {
custom: {
50: '#5e6892',
500: '#0f3166',
950: '#000000',
},
}SCSS
$custom: #0f3166; $custom-light: #5e6892; $custom-dark: #000000;
JSON
{
"hex": "#0f3166",
"rgb": {
"r": 15,
"g": 49,
"b": 102
},
"hsl": {
"h": 216.552,
"s": 74.359,
"l": 22.941
},
"oklch": {
"l": 0.32242,
"c": 0.10133,
"h": 259.3
},
"luminance": 0.03257
}Semantic roles & 50–950 ramp
primary
#0F3166
secondary
#9F7432
accent
#A837F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E