#0F2C76#0F2C76
#0F2C76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.132 H 264.0°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2C76 |
|---|---|
| RGB | rgb(15, 44, 118) |
| HSL | hsl(223, 77%, 26%) |
| HSV | hsv(223, 87%, 46%) |
| CMYK | cmyk(87.3%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(20.87, 20.16, -45.23) |
| CIE-LCH | lch(20.87, 49.52, 294.03°) |
| OKLab | oklab(32.53% -0.0136 -0.1309) |
| OKLCH | oklch(32.53% 0.132 264) |
| XYZ | xyz(4.3665, 3.2104, 17.5256) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.70
Marine Blue
#01386A
ΔE00 6.37
Midnight Blue
#191970
ΔE00 6.42
Darkish Blue
#014182
ΔE00 7.76
Navy Blue
#1B2A4A
ΔE00 8.24
Royal
#0C1793
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2C76 #76590F
analogous
#0F5F76 #0F2C76 #250F76
triadic
#0F2C76 #760F2C #2C760F
tetradic
#0F2C76 #760F5F #76590F #0F7625
square
#0F2C76 #760F5F #76590F #0F7625
split-complementary
#0F2C76 #76250F #5F760F
monochromatic
#030A1B #081840 #0F2C76 #1640AC #1D55E2
Accessibility & contrast
On white
12.79
#0F2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#0F2C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2C76
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2C76 | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #0f2c76; /* rgb */ color: rgb(15, 44, 118); /* oklch */ color: oklch(32.5% 0.132 264.0);
Tailwind
colors: {
custom: {
50: '#63649e',
500: '#0f2c76',
950: '#000000',
},
}SCSS
$custom: #0f2c76; $custom-light: #63649e; $custom-dark: #000000;
JSON
{
"hex": "#0f2c76",
"rgb": {
"r": 15,
"g": 44,
"b": 118
},
"hsl": {
"h": 223.107,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.32526,
"c": 0.13158,
"h": 264
},
"luminance": 0.03211
}Semantic roles & 50–950 ramp
primary
#0F2C76
secondary
#AD8B33
accent
#BE34F4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E