#238EA4#238EA4

#238EA4 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 59.9% C 0.097 H 215.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#238EA4
RGBrgb(35, 142, 164)
HSLhsl(190, 65%, 39%)
HSVhsv(190, 79%, 64%)
CMYKcmyk(78.7%, 13.4%, 0%, 35.7%)
CIE-LABlab(54.43, -21.51, -20.04)
CIE-LCHlch(54.43, 29.40, 222.97°)
OKLaboklab(59.86% -0.0791 -0.0559)
OKLCHoklch(59.86% 0.097 215.3)
XYZxyz(17.0641, 22.3816, 38.5355)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238EA4 #A43923
analogous
#23A47A #238EA4 #234DA4
triadic
#238EA4 #A4238E #8EA423
tetradic
#238EA4 #7A23A4 #A43923 #4DA423
square
#238EA4 #7A23A4 #A43923 #4DA423
split-complementary
#238EA4 #A4234D #A47A23
monochromatic
#0D373F #186272 #238EA4 #31B7D3 #64C9DE

Accessibility & contrast

On white

3.83
#238EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#238EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238EA4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238EA4#FFFFFF#000000##000000
##238EA41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A5
Deuteranopia (green-blind)
#6D7DA4
Tritanopia (blue-blind)
#009695
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #238ea4;
/* rgb */ color: rgb(35, 142, 164);
/* oklch */ color: oklch(59.9% 0.097 215.3);
Tailwind
colors: {
  custom: {
    50: '#74afbf',
    500: '#238ea4',
    950: '#000000',
  },
}
SCSS
$custom: #238ea4;
$custom-light: #74afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#238ea4",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 190.233,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59859,
    "c": 0.0969,
    "h": 215.3
  },
  "luminance": 0.22384
}

Semantic roles & 50–950 ramp

primary
#238EA4
secondary
#C37160
accent
#5D40E8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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