#238CA8#238CA8

#238CA8 is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.5% C 0.099 H 220.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#238CA8
RGBrgb(35, 140, 168)
HSLhsl(193, 66%, 40%)
HSVhsv(193, 79%, 66%)
CMYKcmyk(79.2%, 16.7%, 0%, 34.1%)
CIE-LABlab(53.96, -19.10, -23.06)
CIE-LCHlch(53.96, 29.94, 230.37°)
OKLaboklab(59.53% -0.0755 -0.0645)
OKLCHoklch(59.53% 0.099 220.5)
XYZxyz(17.1361, 21.9385, 40.3696)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CA8 #A83F23
analogous
#23A882 #238CA8 #2349A8
triadic
#238CA8 #A8238C #8CA823
tetradic
#238CA8 #8223A8 #A83F23 #49A823
square
#238CA8 #8223A8 #A83F23 #49A823
split-complementary
#238CA8 #A82349 #A88223
monochromatic
#0E3843 #186275 #238CA8 #34B3D5 #66C6DF

Accessibility & contrast

On white

3.90
#238CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#238CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238CA8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238CA8#FFFFFF#000000##000000
##238CA81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B88A9
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #238ca8;
/* rgb */ color: rgb(35, 140, 168);
/* oklch */ color: oklch(59.5% 0.099 220.5);
Tailwind
colors: {
  custom: {
    50: '#74adc2',
    500: '#238ca8',
    950: '#000000',
  },
}
SCSS
$custom: #238ca8;
$custom-light: #74adc2;
$custom-dark: #000000;
JSON
{
  "hex": "#238ca8",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 168
  },
  "hsl": {
    "h": 192.632,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59534,
    "c": 0.09934,
    "h": 220.5
  },
  "luminance": 0.21941
}

Semantic roles & 50–950 ramp

primary
#238CA8
secondary
#C57762
accent
#633FE8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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