#0F225C#0F225C
#0F225C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.107 H 265.8°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).
Color values
| HEX | #0F225C |
|---|---|
| RGB | rgb(15, 34, 92) |
| HSL | hsl(225, 72%, 21%) |
| HSV | hsv(225, 84%, 36%) |
| CMYK | cmyk(83.7%, 63%, 0%, 63.9%) |
| CIE-LAB | lab(15.58, 16.44, -36.88) |
| CIE-LCH | lch(15.58, 40.38, 294.02°) |
| OKLab | oklab(27.84% -0.0078 -0.1066) |
| OKLCH | oklch(27.84% 0.107 265.8) |
| XYZ | xyz(2.7001, 2.0180, 10.3703) |
| Luminance | 0.0202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.15
Navy Blue (survey)
#001146
ΔE00 5.46
Navy (survey)
#01153E
ΔE00 5.77
Navy Blue
#1B2A4A
ΔE00 6.00
Midnight Blue
#191970
ΔE00 6.06
Dark Navy
#000435
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F225C #5C490F
analogous
#0F485C #0F225C #220F5C
triadic
#0F225C #5C0F22 #225C0F
tetradic
#0F225C #5C0F48 #5C490F #0F5C22
square
#0F225C #5C0F48 #5C490F #0F5C22
split-complementary
#0F225C #5C220F #485C0F
monochromatic
#040A1A #060F27 #0F225C #183591 #2049C5
Accessibility & contrast
On white
14.96
#0F225C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#0F225C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F225C
14.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F225C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F225C | 1.00 | 14.96 | 1.40 | 14.96 |
| #FFFFFF | 14.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#00235B
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #0f225c; /* rgb */ color: rgb(15, 34, 92); /* oklch */ color: oklch(27.8% 0.107 265.8);
Tailwind
colors: {
custom: {
50: '#5c5c8b',
500: '#0f225c',
950: '#000000',
},
}SCSS
$custom: #0f225c; $custom-light: #5c5c8b; $custom-dark: #000000;
JSON
{
"hex": "#0f225c",
"rgb": {
"r": 15,
"g": 34,
"b": 92
},
"hsl": {
"h": 225.195,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.27837,
"c": 0.10685,
"h": 265.8
},
"luminance": 0.02018
}Semantic roles & 50–950 ramp
primary
#0F225C
secondary
#957D31
accent
#C239EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D