#238CB4#238CB4
#238CB4 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.1% C 0.108 H 229.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #238CB4 |
|---|---|
| RGB | rgb(35, 140, 180) |
| HSL | hsl(197, 67%, 42%) |
| HSV | hsv(197, 81%, 71%) |
| CMYK | cmyk(80.6%, 22.2%, 0%, 29.4%) |
| CIE-LAB | lab(54.46, -14.94, -29.17) |
| CIE-LCH | lch(54.46, 32.77, 242.88°) |
| OKLab | oklab(60.09% -0.0709 -0.0821) |
| OKLCH | oklch(60.09% 0.108 229.2) |
| XYZ | xyz(18.3061, 22.4065, 46.5312) |
| Luminance | 0.2241 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.87
Cerulean
#007BA7
ΔE00 6.50
Teal Blue
#01889F
ΔE00 6.78
Water Blue
#0E87CC
ΔE00 7.20
Steel Blue
#4682B4
ΔE00 7.44
Dusty Blue
#5A86AD
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238CB4 #B44B23
analogous
#23B494 #238CB4 #2343B4
triadic
#238CB4 #B4238C #8CB423
tetradic
#238CB4 #9423B4 #B44B23 #43B423
square
#238CB4 #9423B4 #B44B23 #43B423
split-complementary
#238CB4 #B42343 #B49423
monochromatic
#0F3C4E #196481 #238CB4 #3BADD9 #6EC3E3
Accessibility & contrast
On white
3.83
#238CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#238CB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238CB4
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238CB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238CB4 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#778AB6
Deuteranopia (green-blind)
#647CB3
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #238cb4; /* rgb */ color: rgb(35, 140, 180); /* oklch */ color: oklch(60.1% 0.108 229.2);
Tailwind
colors: {
custom: {
50: '#76adca',
500: '#238cb4',
950: '#000000',
},
}SCSS
$custom: #238cb4; $custom-light: #76adca; $custom-dark: #000000;
JSON
{
"hex": "#238cb4",
"rgb": {
"r": 35,
"g": 140,
"b": 180
},
"hsl": {
"h": 196.552,
"s": 67.442,
"l": 42.157
},
"oklch": {
"l": 0.60093,
"c": 0.10847,
"h": 229.2
},
"luminance": 0.22409
}Semantic roles & 50–950 ramp
primary
#238CB4
secondary
#C98469
accent
#6D3DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82