#238AA8#238AA8

#238AA8 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.0% C 0.100 H 222.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#238AA8
RGBrgb(35, 138, 168)
HSLhsl(194, 66%, 40%)
HSVhsv(194, 79%, 66%)
CMYKcmyk(79.2%, 17.9%, 0%, 34.1%)
CIE-LABlab(53.34, -18.02, -24.01)
CIE-LCHlch(53.34, 30.02, 233.11°)
OKLaboklab(59.04% -0.0735 -0.0673)
OKLCHoklch(59.04% 0.1 222.5)
XYZxyz(16.8465, 21.3594, 40.2731)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238AA8 #A84123
analogous
#23A884 #238AA8 #2347A8
triadic
#238AA8 #A8238A #8AA823
tetradic
#238AA8 #8423A8 #A84123 #47A823
square
#238AA8 #8423A8 #A84123 #47A823
split-complementary
#238AA8 #A82347 #A88423
monochromatic
#0E3743 #186075 #238AA8 #34B0D5 #66C4DF

Accessibility & contrast

On white

3.98
#238AA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#238AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238AA8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238AA8#FFFFFF#000000##000000
##238AA81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987AA
Deuteranopia (green-blind)
#677AA8
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #238aa8;
/* rgb */ color: rgb(35, 138, 168);
/* oklch */ color: oklch(59.0% 0.100 222.5);
Tailwind
colors: {
  custom: {
    50: '#74acc2',
    500: '#238aa8',
    950: '#000000',
  },
}
SCSS
$custom: #238aa8;
$custom-light: #74acc2;
$custom-dark: #000000;
JSON
{
  "hex": "#238aa8",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 168
  },
  "hsl": {
    "h": 193.534,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59035,
    "c": 0.09968,
    "h": 222.5
  },
  "luminance": 0.21361
}

Semantic roles & 50–950 ramp

primary
#238AA8
secondary
#C57862
accent
#653FE8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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