#1F279C#1F279C
#1F279C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.184 H 270.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1F279C |
|---|---|
| RGB | rgb(31, 39, 156) |
| HSL | hsl(236, 67%, 37%) |
| HSV | hsv(236, 80%, 61%) |
| CMYK | cmyk(80.1%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(24.13, 39.44, -63.58) |
| CIE-LCH | lch(24.13, 74.82, 301.81°) |
| OKLab | oklab(36.25% 0.0001 -0.1842) |
| OKLCH | oklch(36.25% 0.184 270) |
| XYZ | xyz(7.2893, 4.1418, 31.8613) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.84
Sapphire (survey)
#2138AB
ΔE00 4.93
Indigo Blue
#3A18B1
ΔE00 5.15
Cobalt Blue
#030AA7
ΔE00 5.30
Royal Blue (survey)
#0504AA
ΔE00 5.86
Ultramarine
#2000B1
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F279C #9C941F
analogous
#1F669C #1F279C #561F9C
triadic
#1F279C #9C1F27 #279C1F
tetradic
#1F279C #9C1F66 #9C941F #1F9C56
square
#1F279C #9C1F66 #9C941F #1F9C56
split-complementary
#1F279C #9C561F #669C1F
monochromatic
#0B0D36 #151A69 #1F279C #2934CF #5860DE
Accessibility & contrast
On white
11.48
#1F279C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1F279C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F279C
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F279C | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f279c; /* rgb */ color: rgb(31, 39, 156); /* oklch */ color: oklch(36.3% 0.184 270.0);
Tailwind
colors: {
custom: {
50: '#7262ba',
500: '#1f279c',
950: '#000000',
},
}SCSS
$custom: #1f279c; $custom-light: #7262ba; $custom-dark: #000000;
JSON
{
"hex": "#1f279c",
"rgb": {
"r": 31,
"g": 39,
"b": 156
},
"hsl": {
"h": 236.16,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.3625,
"c": 0.18416,
"h": 270
},
"luminance": 0.04143
}Semantic roles & 50–950 ramp
primary
#1F279C
secondary
#C1BB55
accent
#DF3EEA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981