#262198#262198
#262198 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.183 H 273.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #262198 |
|---|---|
| RGB | rgb(38, 33, 152) |
| HSL | hsl(243, 64%, 36%) |
| HSV | hsv(243, 78%, 60%) |
| CMYK | cmyk(75%, 78.3%, 0%, 40.4%) |
| CIE-LAB | lab(22.88, 42.07, -63.19) |
| CIE-LCH | lch(22.88, 75.91, 303.66°) |
| OKLab | oklab(35.34% 0.0114 -0.1828) |
| OKLCH | oklch(35.34% 0.183 273.6) |
| XYZ | xyz(7.0088, 3.7661, 30.0572) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.69
Cobalt Blue
#030AA7
ΔE00 4.25
Indigo Blue
#3A18B1
ΔE00 4.44
Royal Blue (survey)
#0504AA
ΔE00 4.79
Ultramarine
#2000B1
ΔE00 5.18
Darkblue
#00008B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262198 #939821
analogous
#215898 #262198 #622198
triadic
#262198 #982621 #219826
tetradic
#262198 #982158 #939821 #219862
square
#262198 #982158 #939821 #219862
split-complementary
#262198 #986221 #589821
monochromatic
#0D0B33 #191666 #262198 #332CCA #5E59DB
Accessibility & contrast
On white
11.98
#262198 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#262198 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262198
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262198 | 1.00 | 11.98 | 1.75 | 11.98 |
| #FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9B
Deuteranopia (green-blind)
#003196
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #262198; /* rgb */ color: rgb(38, 33, 152); /* oklch */ color: oklch(35.3% 0.183 273.6);
Tailwind
colors: {
custom: {
50: '#745fb8',
500: '#262198',
950: '#000000',
},
}SCSS
$custom: #262198; $custom-light: #745fb8; $custom-dark: #000000;
JSON
{
"hex": "#262198",
"rgb": {
"r": 38,
"g": 33,
"b": 152
},
"hsl": {
"h": 242.521,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.35341,
"c": 0.18316,
"h": 273.6
},
"luminance": 0.03767
}Semantic roles & 50–950 ramp
primary
#262198
secondary
#BABF56
accent
#E740E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980