#238CA5#238CA5

#238CA5 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.4% C 0.097 H 218.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#238CA5
RGBrgb(35, 140, 165)
HSLhsl(192, 65%, 39%)
HSVhsv(192, 79%, 65%)
CMYKcmyk(78.8%, 15.2%, 0%, 35.3%)
CIE-LABlab(53.84, -20.11, -21.51)
CIE-LCHlch(53.84, 29.45, 226.92°)
OKLaboklab(59.4% -0.0767 -0.0601)
OKLCHoklch(59.4% 0.097 218.1)
XYZxyz(16.8599, 21.8280, 38.9147)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CA5 #A53C23
analogous
#23A57D #238CA5 #234BA5
triadic
#238CA5 #A5238C #8CA523
tetradic
#238CA5 #7D23A5 #A53C23 #4BA523
square
#238CA5 #7D23A5 #A53C23 #4BA523
split-complementary
#238CA5 #A5234B #A57D23
monochromatic
#0E3640 #186173 #238CA5 #32B4D3 #64C7DE

Accessibility & contrast

On white

3.91
#238CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#238CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238CA5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238CA5#FFFFFF#000000##000000
##238CA51.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C88A6
Deuteranopia (green-blind)
#6B7BA5
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #238ca5;
/* rgb */ color: rgb(35, 140, 165);
/* oklch */ color: oklch(59.4% 0.097 218.1);
Tailwind
colors: {
  custom: {
    50: '#74adbf',
    500: '#238ca5',
    950: '#000000',
  },
}
SCSS
$custom: #238ca5;
$custom-light: #74adbf;
$custom-dark: #000000;
JSON
{
  "hex": "#238ca5",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 165
  },
  "hsl": {
    "h": 191.538,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.09748,
    "h": 218.1
  },
  "luminance": 0.2183
}

Semantic roles & 50–950 ramp

primary
#238CA5
secondary
#C47360
accent
#6040E8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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