#261F87#261F87
#261F87 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.164 H 275.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #261F87 |
|---|---|
| RGB | rgb(38, 31, 135) |
| HSL | hsl(244, 63%, 33%) |
| HSV | hsv(244, 77%, 53%) |
| CMYK | cmyk(71.9%, 77%, 0%, 47.1%) |
| CIE-LAB | lab(20.60, 37.51, -56.40) |
| CIE-LCH | lch(20.60, 67.73, 303.63°) |
| OKLab | oklab(33.17% 0.0162 -0.163) |
| OKLCH | oklch(33.17% 0.164 275.7) |
| XYZ | xyz(5.6611, 3.1408, 23.2249) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.90
Midnight Blue
#191970
ΔE00 3.91
Indigo (survey)
#380282
ΔE00 5.53
Cobalt Blue
#030AA7
ΔE00 5.59
Darkblue
#00008B
ΔE00 5.61
Navy
#000080
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261F87 #80871F
analogous
#1F4C87 #261F87 #5A1F87
triadic
#261F87 #87261F #1F8726
tetradic
#261F87 #871F4C #80871F #1F875A
square
#261F87 #871F4C #80871F #1F875A
split-complementary
#261F87 #875A1F #4C871F
monochromatic
#0A0823 #181455 #261F87 #342AB9 #544BD6
Accessibility & contrast
On white
12.90
#261F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#261F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261F87
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261F87 | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #261f87; /* rgb */ color: rgb(38, 31, 135); /* oklch */ color: oklch(33.2% 0.164 275.7);
Tailwind
colors: {
custom: {
50: '#705cab',
500: '#261f87',
950: '#000000',
},
}SCSS
$custom: #261f87; $custom-light: #705cab; $custom-dark: #000000;
JSON
{
"hex": "#261f87",
"rgb": {
"r": 38,
"g": 31,
"b": 135
},
"hsl": {
"h": 244.038,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.33173,
"c": 0.16384,
"h": 275.7
},
"luminance": 0.03141
}Semantic roles & 50–950 ramp
primary
#261F87
secondary
#B1B84A
accent
#E642DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F