#238AB2#238AB2
#238AB2 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.5% C 0.108 H 229.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #238AB2 |
|---|---|
| RGB | rgb(35, 138, 178) |
| HSL | hsl(197, 67%, 42%) |
| HSV | hsv(197, 80%, 70%) |
| CMYK | cmyk(80.3%, 22.5%, 0%, 30.2%) |
| CIE-LAB | lab(53.76, -14.54, -29.11) |
| CIE-LCH | lch(53.76, 32.54, 243.47°) |
| OKLab | oklab(59.51% -0.0697 -0.0819) |
| OKLCH | oklch(59.51% 0.108 229.6) |
| XYZ | xyz(17.8142, 21.7464, 45.3694) |
| Luminance | 0.2175 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.43
Cerulean
#007BA7
ΔE00 5.79
Teal Blue
#01889F
ΔE00 6.73
Water Blue
#0E87CC
ΔE00 6.95
Steel Blue
#4682B4
ΔE00 7.06
Nice Blue
#107AB0
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238AB2 #B24B23
analogous
#23B293 #238AB2 #2343B2
triadic
#238AB2 #B2238A #8AB223
tetradic
#238AB2 #9323B2 #B24B23 #43B223
square
#238AB2 #9323B2 #B24B23 #43B223
split-complementary
#238AB2 #B22343 #B29323
monochromatic
#0F3B4C #19627F #238AB2 #3AACD8 #6DC2E2
Accessibility & contrast
On white
3.93
#238AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#238AB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238AB2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238AB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238AB2 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7588B4
Deuteranopia (green-blind)
#627BB1
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #238ab2; /* rgb */ color: rgb(35, 138, 178); /* oklch */ color: oklch(59.5% 0.108 229.6);
Tailwind
colors: {
custom: {
50: '#76acc9',
500: '#238ab2',
950: '#000000',
},
}SCSS
$custom: #238ab2; $custom-light: #76acc9; $custom-dark: #000000;
JSON
{
"hex": "#238ab2",
"rgb": {
"r": 35,
"g": 138,
"b": 178
},
"hsl": {
"h": 196.783,
"s": 67.136,
"l": 41.765
},
"oklch": {
"l": 0.59506,
"c": 0.10759,
"h": 229.6
},
"luminance": 0.21749
}Semantic roles & 50–950 ramp
primary
#238AB2
secondary
#C98368
accent
#6E3EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82