#238AB3#238AB3
#238AB3 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.6% C 0.108 H 230.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #238AB3 |
|---|---|
| RGB | rgb(35, 138, 179) |
| HSL | hsl(197, 67%, 42%) |
| HSV | hsv(197, 80%, 70%) |
| CMYK | cmyk(80.4%, 22.9%, 0%, 29.8%) |
| CIE-LAB | lab(53.80, -14.18, -29.62) |
| CIE-LCH | lch(53.80, 32.84, 244.41°) |
| OKLab | oklab(59.56% -0.0694 -0.0834) |
| OKLCH | oklch(59.56% 0.108 230.2) |
| XYZ | xyz(17.9150, 21.7867, 45.9001) |
| Luminance | 0.2179 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.61
Cerulean
#007BA7
ΔE00 5.75
Water Blue
#0E87CC
ΔE00 6.62
Steel Blue
#4682B4
ΔE00 6.83
Nice Blue
#107AB0
ΔE00 7.04
Teal Blue
#01889F
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238AB3 #B34C23
analogous
#23B394 #238AB3 #2342B3
triadic
#238AB3 #B3238A #8AB323
tetradic
#238AB3 #9423B3 #B34C23 #42B323
square
#238AB3 #9423B3 #B34C23 #42B323
split-complementary
#238AB3 #B32342 #B39423
monochromatic
#0F3B4D #196380 #238AB3 #3BACD9 #6EC1E3
Accessibility & contrast
On white
3.92
#238AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#238AB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238AB3
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238AB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238AB3 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7588B5
Deuteranopia (green-blind)
#627BB2
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #238ab3; /* rgb */ color: rgb(35, 138, 179); /* oklch */ color: oklch(59.6% 0.108 230.2);
Tailwind
colors: {
custom: {
50: '#76acca',
500: '#238ab3',
950: '#000000',
},
}SCSS
$custom: #238ab3; $custom-light: #76acca; $custom-dark: #000000;
JSON
{
"hex": "#238ab3",
"rgb": {
"r": 35,
"g": 138,
"b": 179
},
"hsl": {
"h": 197.083,
"s": 67.29,
"l": 41.961
},
"oklch": {
"l": 0.59555,
"c": 0.10847,
"h": 230.2
},
"luminance": 0.21789
}Semantic roles & 50–950 ramp
primary
#238AB3
secondary
#C98469
accent
#6F3EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82