#261FAF#261FAF
#261FAF is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.212 H 271.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #261FAF |
|---|---|
| RGB | rgb(38, 31, 175) |
| HSL | hsl(243, 70%, 40%) |
| HSV | hsv(243, 82%, 69%) |
| CMYK | cmyk(78.3%, 82.3%, 0%, 31.4%) |
| CIE-LAB | lab(25.22, 50.44, -73.29) |
| CIE-LCH | lch(25.22, 88.97, 304.54°) |
| OKLab | oklab(37.75% 0.0067 -0.2121) |
| OKLCH | oklch(37.75% 0.212 271.8) |
| XYZ | xyz(9.0246, 4.4862, 40.9394) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.23
Ultramarine
#2000B1
ΔE00 3.70
True Blue
#010FCC
ΔE00 3.72
Cobalt Blue
#030AA7
ΔE00 3.82
Royal Blue (survey)
#0504AA
ΔE00 4.08
Mediumblue
#0000CD
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261FAF #A8AF1F
analogous
#1F60AF #261FAF #6E1FAF
triadic
#261FAF #AF261F #1FAF26
tetradic
#261FAF #AF1F60 #A8AF1F #1FAF6E
square
#261FAF #AF1F60 #A8AF1F #1FAF6E
split-complementary
#261FAF #AF6E1F #60AF1F
monochromatic
#0F0D47 #1B167B #261FAF #3931DA #6B65E4
Accessibility & contrast
On white
11.07
#261FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#261FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261FAF
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261FAF | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043B3
Deuteranopia (green-blind)
#0035AD
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #261faf; /* rgb */ color: rgb(38, 31, 175); /* oklch */ color: oklch(37.8% 0.212 271.8);
Tailwind
colors: {
custom: {
50: '#7a5fc8',
500: '#261faf',
950: '#000000',
},
}SCSS
$custom: #261faf; $custom-light: #7a5fc8; $custom-dark: #000000;
JSON
{
"hex": "#261faf",
"rgb": {
"r": 38,
"g": 31,
"b": 175
},
"hsl": {
"h": 242.917,
"s": 69.903,
"l": 40.392
},
"oklch": {
"l": 0.37751,
"c": 0.21219,
"h": 271.8
},
"luminance": 0.04487
}Semantic roles & 50–950 ramp
primary
#261FAF
secondary
#C4C961
accent
#ED3BE4
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982