#0F305F#0F305F
#0F305F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.092 H 258.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #0F305F |
|---|---|
| RGB | rgb(15, 48, 95) |
| HSL | hsl(215, 73%, 22%) |
| HSV | hsv(215, 84%, 37%) |
| CMYK | cmyk(84.2%, 49.5%, 0%, 62.7%) |
| CIE-LAB | lab(20.21, 7.35, -31.38) |
| CIE-LCH | lch(20.21, 32.23, 283.19°) |
| OKLab | oklab(31.43% -0.0192 -0.0901) |
| OKLCH | oklch(31.43% 0.092 258) |
| XYZ | xyz(3.3188, 3.0413, 11.2364) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 0.95
Marine Blue
#01386A
ΔE00 3.55
Navy Blue
#1B2A4A
ΔE00 4.83
Darkish Blue
#014182
ΔE00 6.84
Twilight Blue
#0A437A
ΔE00 6.95
Prussian Blue
#004577
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F305F #5F3E0F
analogous
#0F585F #0F305F #160F5F
triadic
#0F305F #5F0F30 #305F0F
tetradic
#0F305F #5F0F58 #5F3E0F #0F5F16
square
#0F305F #5F0F58 #5F3E0F #0F5F16
split-complementary
#0F305F #5F160F #585F0F
monochromatic
#040D1A #07152A #0F305F #174B94 #2065C9
Accessibility & contrast
On white
13.06
#0F305F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#0F305F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F305F
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F305F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F305F | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#173561
Deuteranopia (green-blind)
#042D5E
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #0f305f; /* rgb */ color: rgb(15, 48, 95); /* oklch */ color: oklch(31.4% 0.092 258.0);
Tailwind
colors: {
custom: {
50: '#5c678d',
500: '#0f305f',
950: '#000000',
},
}SCSS
$custom: #0f305f; $custom-light: #5c678d; $custom-dark: #000000;
JSON
{
"hex": "#0f305f",
"rgb": {
"r": 15,
"g": 48,
"b": 95
},
"hsl": {
"h": 215.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.31433,
"c": 0.09211,
"h": 258
},
"luminance": 0.03042
}Semantic roles & 50–950 ramp
primary
#0F305F
secondary
#986E32
accent
#A438EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D