#238AB1#238AB1

#238AB1 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.5% C 0.107 H 228.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#238AB1
RGBrgb(35, 138, 177)
HSLhsl(196, 67%, 42%)
HSVhsv(196, 80%, 69%)
CMYKcmyk(80.2%, 22%, 0%, 30.6%)
CIE-LABlab(53.71, -14.89, -28.60)
CIE-LCHlch(53.71, 32.25, 242.50°)
OKLaboklab(59.46% -0.0701 -0.0805)
OKLCHoklch(59.46% 0.107 228.9)
XYZxyz(17.7142, 21.7064, 44.8426)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238AB1 #B14A23
analogous
#23B191 #238AB1 #2343B1
triadic
#238AB1 #B1238A #8AB123
tetradic
#238AB1 #9123B1 #B14A23 #43B123
square
#238AB1 #9123B1 #B14A23 #43B123
split-complementary
#238AB1 #B12343 #B19123
monochromatic
#0F3A4B #19627E #238AB1 #39ACD8 #6CC2E2

Accessibility & contrast

On white

3.93
#238AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#238AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238AB1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238AB1#FFFFFF#000000##000000
##238AB11.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B3
Deuteranopia (green-blind)
#637BB0
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #238ab1;
/* rgb */ color: rgb(35, 138, 177);
/* oklch */ color: oklch(59.5% 0.107 228.9);
Tailwind
colors: {
  custom: {
    50: '#76acc8',
    500: '#238ab1',
    950: '#000000',
  },
}
SCSS
$custom: #238ab1;
$custom-light: #76acc8;
$custom-dark: #000000;
JSON
{
  "hex": "#238ab1",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 177
  },
  "hsl": {
    "h": 196.479,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.59458,
    "c": 0.10672,
    "h": 228.9
  },
  "luminance": 0.21709
}

Semantic roles & 50–950 ramp

primary
#238AB1
secondary
#C88268
accent
#6D3EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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