#238DAB#238DAB

#238DAB is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 59.9% C 0.101 H 221.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#238DAB
RGBrgb(35, 141, 171)
HSLhsl(193, 66%, 40%)
HSVhsv(193, 80%, 67%)
CMYKcmyk(79.5%, 17.5%, 0%, 32.9%)
CIE-LABlab(54.39, -18.61, -24.12)
CIE-LCHlch(54.39, 30.46, 232.35°)
OKLaboklab(59.92% -0.0753 -0.0676)
OKLCHoklch(59.92% 0.101 221.9)
XYZxyz(17.5656, 22.3452, 41.9074)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238DAB #AB4123
analogous
#23AB85 #238DAB #2349AB
triadic
#238DAB #AB238D #8DAB23
tetradic
#238DAB #8523AB #AB4123 #49AB23
square
#238DAB #8523AB #AB4123 #49AB23
split-complementary
#238DAB #AB2349 #AB8523
monochromatic
#0E3945 #196378 #238DAB #35B2D6 #68C6E0

Accessibility & contrast

On white

3.84
#238DAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#238DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238DAB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238DAB#FFFFFF#000000##000000
##238DAB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B89AD
Deuteranopia (green-blind)
#697CAB
Tritanopia (blue-blind)
#009697
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #238dab;
/* rgb */ color: rgb(35, 141, 171);
/* oklch */ color: oklch(59.9% 0.101 221.9);
Tailwind
colors: {
  custom: {
    50: '#75aec4',
    500: '#238dab',
    950: '#000000',
  },
}
SCSS
$custom: #238dab;
$custom-light: #75aec4;
$custom-dark: #000000;
JSON
{
  "hex": "#238dab",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 171
  },
  "hsl": {
    "h": 193.235,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59919,
    "c": 0.10117,
    "h": 221.9
  },
  "luminance": 0.22347
}

Semantic roles & 50–950 ramp

primary
#238DAB
secondary
#C67964
accent
#643FE9
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238DAB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#238DAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva