#261F6F#261F6F
#261F6F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.132 H 279.1°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #261F6F |
|---|---|
| RGB | rgb(38, 31, 111) |
| HSL | hsl(245, 56%, 28%) |
| HSV | hsv(245, 72%, 44%) |
| CMYK | cmyk(65.8%, 72.1%, 0%, 56.5%) |
| CIE-LAB | lab(18.10, 29.21, -45.21) |
| CIE-LCH | lch(18.10, 53.82, 302.87°) |
| OKLab | oklab(30.63% 0.0209 -0.1304) |
| OKLCH | oklch(30.63% 0.132 279.1) |
| XYZ | xyz(4.1576, 2.5394, 15.3069) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.11
Darkblue (survey)
#030764
ΔE00 6.02
Dark Royal Blue
#02066F
ΔE00 6.04
Dark Indigo
#1F0954
ΔE00 6.32
Royal
#0C1793
ΔE00 6.34
Deep Blue
#040273
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261F6F #686F1F
analogous
#1F406F #261F6F #4E1F6F
triadic
#261F6F #6F261F #1F6F26
tetradic
#261F6F #6F1F40 #686F1F #1F6F4E
square
#261F6F #6F1F40 #686F1F #1F6F4E
split-complementary
#261F6F #6F4E1F #406F1F
monochromatic
#080718 #16123F #261F6F #362C9F #4B3FC9
Accessibility & contrast
On white
13.93
#261F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#261F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261F6F
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261F6F | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #261f6f; /* rgb */ color: rgb(38, 31, 111); /* oklch */ color: oklch(30.6% 0.132 279.1);
Tailwind
colors: {
custom: {
50: '#6a5b99',
500: '#261f6f',
950: '#000000',
},
}SCSS
$custom: #261f6f; $custom-light: #6a5b99; $custom-dark: #000000;
JSON
{
"hex": "#261f6f",
"rgb": {
"r": 38,
"g": 31,
"b": 111
},
"hsl": {
"h": 245.25,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.30634,
"c": 0.13203,
"h": 279.1
},
"luminance": 0.0254
}Semantic roles & 50–950 ramp
primary
#261F6F
secondary
#9BA347
accent
#E048D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E