#238CA1#238CA1

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

Color values

HEX#238CA1
RGBrgb(35, 140, 161)
HSLhsl(190, 64%, 38%)
HSVhsv(190, 78%, 63%)
CMYKcmyk(78.3%, 13%, 0%, 36.9%)
CIE-LABlab(53.69, -21.46, -19.44)
CIE-LCHlch(53.69, 28.96, 222.18°)
OKLaboklab(59.23% -0.0784 -0.0543)
OKLCHoklch(59.23% 0.095 214.7)
XYZxyz(16.5015, 21.6847, 37.0272)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CA1 #A13823
analogous
#23A177 #238CA1 #234DA1
triadic
#238CA1 #A1238C #8CA123
tetradic
#238CA1 #7723A1 #A13823 #4DA123
square
#238CA1 #7723A1 #A13823 #4DA123
split-complementary
#238CA1 #A1234D #A17723
monochromatic
#0D353C #18606F #238CA1 #2FB7D2 #62C8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238CA1#FFFFFF#000000##000000
##238CA11.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)
#7D87A2
Deuteranopia (green-blind)
#6C7BA1
Tritanopia (blue-blind)
#009493
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #238ca1;
/* rgb */ color: rgb(35, 140, 161);
/* oklch */ color: oklch(59.2% 0.095 214.7);
Tailwind
colors: {
  custom: {
    50: '#73aebc',
    500: '#238ca1',
    950: '#000000',
  },
}
SCSS
$custom: #238ca1;
$custom-light: #73aebc;
$custom-dark: #000000;
JSON
{
  "hex": "#238ca1",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 161
  },
  "hsl": {
    "h": 190,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59227,
    "c": 0.09532,
    "h": 214.7
  },
  "luminance": 0.21687
}

Semantic roles & 50–950 ramp

primary
#238CA1
secondary
#C26F5E
accent
#5C41E7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #238CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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