#238AB4#238AB4
#238AB4 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.6% C 0.109 H 230.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #238AB4 |
|---|---|
| RGB | rgb(35, 138, 180) |
| HSL | hsl(197, 67%, 42%) |
| HSV | hsv(197, 81%, 71%) |
| CMYK | cmyk(80.6%, 23.3%, 0%, 29.4%) |
| CIE-LAB | lab(53.84, -13.83, -30.12) |
| CIE-LCH | lch(53.84, 33.15, 245.34°) |
| OKLab | oklab(59.6% -0.069 -0.0848) |
| OKLCH | oklch(59.6% 0.109 230.9) |
| XYZ | xyz(18.0165, 21.8273, 46.4347) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.81
Cerulean
#007BA7
ΔE00 5.73
Water Blue
#0E87CC
ΔE00 6.29
Steel Blue
#4682B4
ΔE00 6.61
Nice Blue
#107AB0
ΔE00 6.88
Cool Blue
#4984B8
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238AB4 #B44D23
analogous
#23B495 #238AB4 #2342B4
triadic
#238AB4 #B4238A #8AB423
tetradic
#238AB4 #9523B4 #B44D23 #42B423
square
#238AB4 #9523B4 #B44D23 #42B423
split-complementary
#238AB4 #B42342 #B49523
monochromatic
#0F3B4E #196381 #238AB4 #3BABD9 #6EC1E3
Accessibility & contrast
On white
3.91
#238AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#238AB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238AB4
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238AB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238AB4 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7588B6
Deuteranopia (green-blind)
#627BB3
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #238ab4; /* rgb */ color: rgb(35, 138, 180); /* oklch */ color: oklch(59.6% 0.109 230.9);
Tailwind
colors: {
custom: {
50: '#76acca',
500: '#238ab4',
950: '#000000',
},
}SCSS
$custom: #238ab4; $custom-light: #76acca; $custom-dark: #000000;
JSON
{
"hex": "#238ab4",
"rgb": {
"r": 35,
"g": 138,
"b": 180
},
"hsl": {
"h": 197.379,
"s": 67.442,
"l": 42.157
},
"oklch": {
"l": 0.59604,
"c": 0.10936,
"h": 230.9
},
"luminance": 0.2183
}Semantic roles & 50–950 ramp
primary
#238AB4
secondary
#C98569
accent
#703DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82