#238BA8#238BA8

#238BA8 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.3% C 0.099 H 221.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#238BA8
RGBrgb(35, 139, 168)
HSLhsl(193, 66%, 40%)
HSVhsv(193, 79%, 66%)
CMYKcmyk(79.2%, 17.3%, 0%, 34.1%)
CIE-LABlab(53.65, -18.56, -23.53)
CIE-LCHlch(53.65, 29.97, 231.74°)
OKLaboklab(59.29% -0.0745 -0.0659)
OKLCHoklch(59.29% 0.099 221.5)
XYZxyz(16.9907, 21.6476, 40.3211)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238BA8 #A84023
analogous
#23A883 #238BA8 #2348A8
triadic
#238BA8 #A8238B #8BA823
tetradic
#238BA8 #8323A8 #A84023 #48A823
square
#238BA8 #8323A8 #A84023 #48A823
split-complementary
#238BA8 #A82348 #A88323
monochromatic
#0E3743 #186175 #238BA8 #34B2D5 #66C5DF

Accessibility & contrast

On white

3.94
#238BA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#238BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238BA8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238BA8#FFFFFF#000000##000000
##238BA81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A87AA
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #238ba8;
/* rgb */ color: rgb(35, 139, 168);
/* oklch */ color: oklch(59.3% 0.099 221.5);
Tailwind
colors: {
  custom: {
    50: '#74adc2',
    500: '#238ba8',
    950: '#000000',
  },
}
SCSS
$custom: #238ba8;
$custom-light: #74adc2;
$custom-dark: #000000;
JSON
{
  "hex": "#238ba8",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 168
  },
  "hsl": {
    "h": 193.083,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.09949,
    "h": 221.5
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#238BA8
secondary
#C57862
accent
#643FE8
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #238BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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