#238AA7#238AA7

#238AA7 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.0% C 0.099 H 221.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#238AA7
RGBrgb(35, 138, 167)
HSLhsl(193, 65%, 40%)
HSVhsv(193, 79%, 65%)
CMYKcmyk(79%, 17.4%, 0%, 34.5%)
CIE-LABlab(53.30, -18.36, -23.50)
CIE-LCHlch(53.30, 29.82, 231.99°)
OKLaboklab(58.99% -0.0739 -0.0658)
OKLCHoklch(58.99% 0.099 221.7)
XYZxyz(16.7537, 21.3222, 39.7843)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238AA7 #A74023
analogous
#23A782 #238AA7 #2348A7
triadic
#238AA7 #A7238A #8AA723
tetradic
#238AA7 #8223A7 #A74023 #48A723
square
#238AA7 #8223A7 #A74023 #48A723
split-complementary
#238AA7 #A72348 #A78223
monochromatic
#0E3642 #186074 #238AA7 #33B1D4 #66C4DF

Accessibility & contrast

On white

3.99
#238AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#238AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238AA7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238AA7#FFFFFF#000000##000000
##238AA71.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7986A9
Deuteranopia (green-blind)
#677AA7
Tritanopia (blue-blind)
#009393
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #238aa7;
/* rgb */ color: rgb(35, 138, 167);
/* oklch */ color: oklch(59.0% 0.099 221.7);
Tailwind
colors: {
  custom: {
    50: '#74acc1',
    500: '#238aa7',
    950: '#000000',
  },
}
SCSS
$custom: #238aa7;
$custom-light: #74acc1;
$custom-dark: #000000;
JSON
{
  "hex": "#238aa7",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 167
  },
  "hsl": {
    "h": 193.182,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5899,
    "c": 0.09899,
    "h": 221.7
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#238AA7
secondary
#C47761
accent
#653FE8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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