#1B2F75#1B2F75
#1B2F75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.123 H 267.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F75 |
|---|---|
| RGB | rgb(27, 47, 117) |
| HSL | hsl(227, 63%, 28%) |
| HSV | hsv(227, 77%, 46%) |
| CMYK | cmyk(76.9%, 59.8%, 0%, 54.1%) |
| CIE-LAB | lab(22.12, 18.91, -42.52) |
| CIE-LCH | lch(22.12, 46.54, 293.98°) |
| OKLab | oklab(33.57% -0.0059 -0.1226) |
| OKLCH | oklch(33.57% 0.123 267.2) |
| XYZ | xyz(4.6783, 3.5499, 17.2648) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.77
Marine Blue
#01386A
ΔE00 6.27
Midnight Blue
#191970
ΔE00 6.95
Darkish Blue
#014182
ΔE00 7.47
Navy Blue
#1B2A4A
ΔE00 7.93
Darkslateblue
#483D8B
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F75 #75611B
analogous
#1B5C75 #1B2F75 #341B75
triadic
#1B2F75 #751B2F #2F751B
tetradic
#1B2F75 #751B5C #75611B #1B7534
square
#1B2F75 #751B5C #75611B #1B7534
split-complementary
#1B2F75 #75341B #5C751B
monochromatic
#060A19 #101B43 #1B2F75 #2643A7 #395BD1
Accessibility & contrast
On white
12.28
#1B2F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1B2F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F75
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F75 | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1b2f75; /* rgb */ color: rgb(27, 47, 117); /* oklch */ color: oklch(33.6% 0.123 267.2);
Tailwind
colors: {
custom: {
50: '#66679d',
500: '#1b2f75',
950: '#000000',
},
}SCSS
$custom: #1b2f75; $custom-light: #66679d; $custom-dark: #000000;
JSON
{
"hex": "#1b2f75",
"rgb": {
"r": 27,
"g": 47,
"b": 117
},
"hsl": {
"h": 226.667,
"s": 62.5,
"l": 28.235
},
"oklch": {
"l": 0.33574,
"c": 0.12279,
"h": 267.2
},
"luminance": 0.0355
}Semantic roles & 50–950 ramp
primary
#1B2F75
secondary
#A99342
accent
#C142E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E