#233498#233498
#233498 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.163 H 269.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #233498 |
|---|---|
| RGB | rgb(35, 52, 152) |
| HSL | hsl(231, 63%, 37%) |
| HSV | hsv(231, 77%, 60%) |
| CMYK | cmyk(77%, 65.8%, 0%, 40.4%) |
| CIE-LAB | lab(26.96, 30.11, -56.48) |
| CIE-LCH | lch(26.96, 64.00, 298.06°) |
| OKLab | oklab(38.23% -0.002 -0.1633) |
| OKLCH | oklch(38.23% 0.163 269.3) |
| XYZ | xyz(7.5867, 5.0795, 30.2803) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.81
Blueberry
#464196
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 6.35
Cobalt
#0047AB
ΔE00 7.10
Blue Blue
#2242C7
ΔE00 7.29
Royal
#0C1793
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#233498 #988723
analogous
#236F98 #233498 #4D2398
triadic
#233498 #982334 #349823
tetradic
#233498 #98236F #988723 #23984D
square
#233498 #98236F #988723 #23984D
split-complementary
#233498 #984D23 #6F9823
monochromatic
#0C1235 #182366 #233498 #2E45CA #5C6ED9
Accessibility & contrast
On white
10.42
#233498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#233498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #233498
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##233498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##233498 | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #233498; /* rgb */ color: rgb(35, 52, 152); /* oklch */ color: oklch(38.2% 0.163 269.3);
Tailwind
colors: {
custom: {
50: '#716bb7',
500: '#233498',
950: '#000000',
},
}SCSS
$custom: #233498; $custom-light: #716bb7; $custom-dark: #000000;
JSON
{
"hex": "#233498",
"rgb": {
"r": 35,
"g": 52,
"b": 152
},
"hsl": {
"h": 231.282,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.38227,
"c": 0.16336,
"h": 269.3
},
"luminance": 0.0508
}Semantic roles & 50–950 ramp
primary
#233498
secondary
#BEAF59
accent
#CE42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80