#1B2F97#1B2F97
#1B2F97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.170 H 267.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F97 |
|---|---|
| RGB | rgb(27, 47, 151) |
| HSL | hsl(230, 70%, 35%) |
| HSV | hsv(230, 82%, 59%) |
| CMYK | cmyk(82.1%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(25.26, 32.27, -58.67) |
| CIE-LCH | lch(25.26, 66.96, 298.81°) |
| OKLab | oklab(36.85% -0.0066 -0.1699) |
| OKLCH | oklch(36.85% 0.17 267.8) |
| XYZ | xyz(7.0525, 4.4996, 29.7690) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Royal
#0C1793
ΔE00 5.97
Blueberry
#464196
ΔE00 6.83
Darkslateblue
#483D8B
ΔE00 7.28
Indigo Blue
#3A18B1
ΔE00 7.50
Midnight Blue
#191970
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F97 #97831B
analogous
#1B6D97 #1B2F97 #451B97
triadic
#1B2F97 #971B2F #2F971B
tetradic
#1B2F97 #971B6D #97831B #1B9745
square
#1B2F97 #971B6D #97831B #1B9745
split-complementary
#1B2F97 #97451B #6D971B
monochromatic
#080F2F #121F63 #1B2F97 #243FCB #4D65DF
Accessibility & contrast
On white
11.05
#1B2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1B2F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F97
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F97 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1b2f97; /* rgb */ color: rgb(27, 47, 151); /* oklch */ color: oklch(36.9% 0.170 267.8);
Tailwind
colors: {
custom: {
50: '#6f67b7',
500: '#1b2f97',
950: '#000000',
},
}SCSS
$custom: #1b2f97; $custom-light: #6f67b7; $custom-dark: #000000;
JSON
{
"hex": "#1b2f97",
"rgb": {
"r": 27,
"g": 47,
"b": 151
},
"hsl": {
"h": 230.323,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.36853,
"c": 0.17008,
"h": 267.8
},
"luminance": 0.045
}Semantic roles & 50–950 ramp
primary
#1B2F97
secondary
#C1AF4C
accent
#D03BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80