#238CA4#238CA4

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

Color values

HEX#238CA4
RGBrgb(35, 140, 164)
HSLhsl(191, 65%, 39%)
HSVhsv(191, 79%, 64%)
CMYKcmyk(78.7%, 14.6%, 0%, 35.7%)
CIE-LABlab(53.81, -20.45, -21.00)
CIE-LCHlch(53.81, 29.31, 225.75°)
OKLaboklab(59.36% -0.0771 -0.0587)
OKLCHoklch(59.36% 0.097 217.3)
XYZxyz(16.7692, 21.7918, 38.4372)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CA4 #A43B23
analogous
#23A47C #238CA4 #234CA4
triadic
#238CA4 #A4238C #8CA423
tetradic
#238CA4 #7C23A4 #A43B23 #4CA423
square
#238CA4 #7C23A4 #A43B23 #4CA423
split-complementary
#238CA4 #A4234C #A47C23
monochromatic
#0D363F #186172 #238CA4 #31B5D3 #64C7DE

Accessibility & contrast

On white

3.92
#238CA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#238CA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238CA4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238CA4#FFFFFF#000000##000000
##238CA41.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238ca4;
/* rgb */ color: rgb(35, 140, 164);
/* oklch */ color: oklch(59.4% 0.097 217.3);
Tailwind
colors: {
  custom: {
    50: '#74adbf',
    500: '#238ca4',
    950: '#000000',
  },
}
SCSS
$custom: #238ca4;
$custom-light: #74adbf;
$custom-dark: #000000;
JSON
{
  "hex": "#238ca4",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 164
  },
  "hsl": {
    "h": 191.163,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59357,
    "c": 0.09691,
    "h": 217.3
  },
  "luminance": 0.21794
}

Semantic roles & 50–950 ramp

primary
#238CA4
secondary
#C37260
accent
#5F40E8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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