#261F98#261F98
#261F98 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.185 H 273.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #261F98 |
|---|---|
| RGB | rgb(38, 31, 152) |
| HSL | hsl(243, 66%, 36%) |
| HSV | hsv(243, 80%, 60%) |
| CMYK | cmyk(75%, 79.6%, 0%, 40.4%) |
| CIE-LAB | lab(22.51, 43.15, -63.81) |
| CIE-LCH | lch(22.51, 77.03, 304.07°) |
| OKLab | oklab(35.08% 0.0122 -0.1846) |
| OKLCH | oklch(35.08% 0.185 273.8) |
| XYZ | xyz(6.9549, 3.6583, 30.0393) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.41
Cobalt Blue
#030AA7
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 4.29
Royal Blue (survey)
#0504AA
ΔE00 4.42
Ultramarine
#2000B1
ΔE00 4.84
Darkblue
#00008B
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261F98 #91981F
analogous
#1F5498 #261F98 #621F98
triadic
#261F98 #98261F #1F9826
tetradic
#261F98 #981F54 #91981F #1F9862
square
#261F98 #981F54 #91981F #1F9862
split-complementary
#261F98 #98621F #54981F
monochromatic
#0D0A32 #191565 #261F98 #3329CB #5D55DC
Accessibility & contrast
On white
12.13
#261F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#261F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261F98
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261F98 | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #261f98; /* rgb */ color: rgb(38, 31, 152); /* oklch */ color: oklch(35.1% 0.185 273.8);
Tailwind
colors: {
custom: {
50: '#745eb8',
500: '#261f98',
950: '#000000',
},
}SCSS
$custom: #261f98; $custom-light: #745eb8; $custom-dark: #000000;
JSON
{
"hex": "#261f98",
"rgb": {
"r": 38,
"g": 31,
"b": 152
},
"hsl": {
"h": 243.471,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.35078,
"c": 0.18498,
"h": 273.8
},
"luminance": 0.03659
}Semantic roles & 50–950 ramp
primary
#261F98
secondary
#BAC053
accent
#E93FDF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980