#238CA6#238CA6

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

Color values

HEX#238CA6
RGBrgb(35, 140, 166)
HSLhsl(192, 65%, 39%)
HSVhsv(192, 79%, 65%)
CMYKcmyk(78.9%, 15.7%, 0%, 34.9%)
CIE-LABlab(53.88, -19.78, -22.03)
CIE-LCHlch(53.88, 29.60, 228.08°)
OKLaboklab(59.45% -0.0763 -0.0616)
OKLCHoklch(59.45% 0.098 218.9)
XYZxyz(16.9512, 21.8646, 39.3959)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CA6 #A63D23
analogous
#23A67E #238CA6 #234BA6
triadic
#238CA6 #A6238C #8CA623
tetradic
#238CA6 #7E23A6 #A63D23 #4BA623
square
#238CA6 #7E23A6 #A63D23 #4BA623
split-complementary
#238CA6 #A6234B #A67E23
monochromatic
#0E3741 #186173 #238CA6 #32B4D4 #65C6DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238CA6#FFFFFF#000000##000000
##238CA61.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)
#7C88A7
Deuteranopia (green-blind)
#6A7BA6
Tritanopia (blue-blind)
#009594
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #238ca6;
/* rgb */ color: rgb(35, 140, 166);
/* oklch */ color: oklch(59.4% 0.098 218.9);
Tailwind
colors: {
  custom: {
    50: '#74adc0',
    500: '#238ca6',
    950: '#000000',
  },
}
SCSS
$custom: #238ca6;
$custom-light: #74adc0;
$custom-dark: #000000;
JSON
{
  "hex": "#238ca6",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 166
  },
  "hsl": {
    "h": 191.908,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59445,
    "c": 0.09808,
    "h": 218.9
  },
  "luminance": 0.21867
}

Semantic roles & 50–950 ramp

primary
#238CA6
secondary
#C47561
accent
#6140E8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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