#238BA1#238BA1

#238BA1 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.0% C 0.095 H 215.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#238BA1
RGBrgb(35, 139, 161)
HSLhsl(190, 64%, 38%)
HSVhsv(190, 78%, 63%)
CMYKcmyk(78.3%, 13.7%, 0%, 36.9%)
CIE-LABlab(53.38, -20.93, -19.92)
CIE-LCHlch(53.38, 28.90, 223.58°)
OKLaboklab(58.97% -0.0774 -0.0556)
OKLCHoklch(58.97% 0.095 215.7)
XYZxyz(16.3560, 21.3938, 36.9787)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238BA1 #A13923
analogous
#23A178 #238BA1 #234CA1
triadic
#238BA1 #A1238B #8BA123
tetradic
#238BA1 #7823A1 #A13923 #4CA123
square
#238BA1 #7823A1 #A13923 #4CA123
split-complementary
#238BA1 #A1234C #A17823
monochromatic
#0D343C #18606F #238BA1 #2FB5D2 #62C7DD

Accessibility & contrast

On white

3.98
#238BA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#238BA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238BA1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238BA1#FFFFFF#000000##000000
##238BA11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C86A2
Deuteranopia (green-blind)
#6B7AA1
Tritanopia (blue-blind)
#009392
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #238ba1;
/* rgb */ color: rgb(35, 139, 161);
/* oklch */ color: oklch(59.0% 0.095 215.7);
Tailwind
colors: {
  custom: {
    50: '#73adbc',
    500: '#238ba1',
    950: '#000000',
  },
}
SCSS
$custom: #238ba1;
$custom-light: #73adbc;
$custom-dark: #000000;
JSON
{
  "hex": "#238ba1",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 161
  },
  "hsl": {
    "h": 190.476,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.09529,
    "h": 215.7
  },
  "luminance": 0.21396
}

Semantic roles & 50–950 ramp

primary
#238BA1
secondary
#C26F5E
accent
#5E41E7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #238BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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