#238CA2#238CA2

#238CA2 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.3% C 0.096 H 215.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#238CA2
RGBrgb(35, 140, 162)
HSLhsl(190, 64%, 39%)
HSVhsv(190, 78%, 64%)
CMYKcmyk(78.4%, 13.6%, 0%, 36.5%)
CIE-LABlab(53.73, -21.13, -19.96)
CIE-LCHlch(53.73, 29.06, 223.38°)
OKLaboklab(59.27% -0.0779 -0.0557)
OKLCHoklch(59.27% 0.096 215.6)
XYZxyz(16.5900, 21.7201, 37.4934)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CA2 #A23923
analogous
#23A278 #238CA2 #234CA2
triadic
#238CA2 #A2238C #8CA223
tetradic
#238CA2 #7823A2 #A23923 #4CA223
square
#238CA2 #7823A2 #A23923 #4CA223
split-complementary
#238CA2 #A2234C #A27823
monochromatic
#0D353D #186170 #238CA2 #30B6D2 #62C8DD

Accessibility & contrast

On white

3.93
#238CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#238CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238CA2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238CA2#FFFFFF#000000##000000
##238CA21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D87A3
Deuteranopia (green-blind)
#6C7BA2
Tritanopia (blue-blind)
#009493
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #238ca2;
/* rgb */ color: rgb(35, 140, 162);
/* oklch */ color: oklch(59.3% 0.096 215.6);
Tailwind
colors: {
  custom: {
    50: '#74aebd',
    500: '#238ca2',
    950: '#000000',
  },
}
SCSS
$custom: #238ca2;
$custom-light: #74aebd;
$custom-dark: #000000;
JSON
{
  "hex": "#238ca2",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 190.394,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.09582,
    "h": 215.6
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#238CA2
secondary
#C2705E
accent
#5D40E7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #238CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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