#261F8C#261F8C
#261F8C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.170 H 275.1°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #261F8C |
|---|---|
| RGB | rgb(38, 31, 140) |
| HSL | hsl(244, 64%, 34%) |
| HSV | hsv(244, 78%, 55%) |
| CMYK | cmyk(72.9%, 77.9%, 0%, 45.1%) |
| CIE-LAB | lab(21.15, 39.19, -58.62) |
| CIE-LCH | lch(21.15, 70.51, 303.77°) |
| OKLab | oklab(33.73% 0.015 -0.1695) |
| OKLCH | oklch(33.73% 0.17 275.1) |
| XYZ | xyz(6.0214, 3.2849, 25.1226) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.49
Midnight Blue
#191970
ΔE00 4.60
Cobalt Blue
#030AA7
ΔE00 4.99
Darkblue
#00008B
ΔE00 5.51
Royal Blue (survey)
#0504AA
ΔE00 5.54
Indigo (survey)
#380282
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261F8C #858C1F
analogous
#1F4E8C #261F8C #5C1F8C
triadic
#261F8C #8C261F #1F8C26
tetradic
#261F8C #8C1F4E #858C1F #1F8C5C
square
#261F8C #8C1F4E #858C1F #1F8C5C
split-complementary
#261F8C #8C5C1F #4E8C1F
monochromatic
#0B0928 #18145A #261F8C #342ABE #574ED8
Accessibility & contrast
On white
12.67
#261F8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#261F8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261F8C
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261F8C | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#002E8A
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #261f8c; /* rgb */ color: rgb(38, 31, 140); /* oklch */ color: oklch(33.7% 0.170 275.1);
Tailwind
colors: {
custom: {
50: '#715daf',
500: '#261f8c',
950: '#000000',
},
}SCSS
$custom: #261f8c; $custom-light: #715daf; $custom-dark: #000000;
JSON
{
"hex": "#261f8c",
"rgb": {
"r": 38,
"g": 31,
"b": 140
},
"hsl": {
"h": 243.853,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.33726,
"c": 0.17016,
"h": 275.1
},
"luminance": 0.03285
}Semantic roles & 50–950 ramp
primary
#261F8C
secondary
#B3BB4C
accent
#E741DC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F