#238EA7#238EA7

#238EA7 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.0% C 0.099 H 217.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#238EA7
RGBrgb(35, 142, 167)
HSLhsl(191, 65%, 40%)
HSVhsv(191, 79%, 65%)
CMYKcmyk(79%, 15%, 0%, 34.5%)
CIE-LABlab(54.54, -20.50, -21.59)
CIE-LCHlch(54.54, 29.77, 226.48°)
OKLaboklab(59.99% -0.0779 -0.0603)
OKLCHoklch(59.99% 0.099 217.8)
XYZxyz(17.3382, 22.4912, 39.9792)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238EA7 #A73C23
analogous
#23A77E #238EA7 #234CA7
triadic
#238EA7 #A7238E #8EA723
tetradic
#238EA7 #7E23A7 #A73C23 #4CA723
square
#238EA7 #7E23A7 #A73C23 #4CA723
split-complementary
#238EA7 #A7234C #A77E23
monochromatic
#0E3842 #186374 #238EA7 #33B6D4 #66C8DF

Accessibility & contrast

On white

3.82
#238EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#238EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238EA7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238EA7#FFFFFF#000000##000000
##238EA71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8AA8
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#009796
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #238ea7;
/* rgb */ color: rgb(35, 142, 167);
/* oklch */ color: oklch(60.0% 0.099 217.8);
Tailwind
colors: {
  custom: {
    50: '#74afc1',
    500: '#238ea7',
    950: '#000000',
  },
}
SCSS
$custom: #238ea7;
$custom-light: #74afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#238ea7",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 191.364,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5999,
    "c": 0.09853,
    "h": 217.8
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#238EA7
secondary
#C47461
accent
#5F3FE8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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