#238CA7#238CA7

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

Color values

HEX#238CA7
RGBrgb(35, 140, 167)
HSLhsl(192, 65%, 40%)
HSVhsv(192, 79%, 65%)
CMYKcmyk(79%, 16.2%, 0%, 34.5%)
CIE-LABlab(53.92, -19.44, -22.54)
CIE-LCHlch(53.92, 29.76, 229.23°)
OKLaboklab(59.49% -0.0759 -0.0631)
OKLCHoklch(59.49% 0.099 219.7)
XYZxyz(17.0433, 21.9014, 39.8809)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238CA7 #A73E23
analogous
#23A780 #238CA7 #234AA7
triadic
#238CA7 #A7238C #8CA723
tetradic
#238CA7 #8023A7 #A73E23 #4AA723
square
#238CA7 #8023A7 #A73E23 #4AA723
split-complementary
#238CA7 #A7234A #A78023
monochromatic
#0E3742 #186274 #238CA7 #33B3D4 #66C6DF

Accessibility & contrast

On white

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

On black

5.38
#238CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238CA7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238CA7#FFFFFF#000000##000000
##238CA71.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B88A8
Deuteranopia (green-blind)
#6A7BA7
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #238ca7;
/* rgb */ color: rgb(35, 140, 167);
/* oklch */ color: oklch(59.5% 0.099 219.7);
Tailwind
colors: {
  custom: {
    50: '#74adc1',
    500: '#238ca7',
    950: '#000000',
  },
}
SCSS
$custom: #238ca7;
$custom-light: #74adc1;
$custom-dark: #000000;
JSON
{
  "hex": "#238ca7",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 192.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59489,
    "c": 0.0987,
    "h": 219.7
  },
  "luminance": 0.21904
}

Semantic roles & 50–950 ramp

primary
#238CA7
secondary
#C47661
accent
#623FE8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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