#238AB4#238AB4

#238AB4 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.6% C 0.109 H 230.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#238AB4
RGBrgb(35, 138, 180)
HSLhsl(197, 67%, 42%)
HSVhsv(197, 81%, 71%)
CMYKcmyk(80.6%, 23.3%, 0%, 29.4%)
CIE-LABlab(53.84, -13.83, -30.12)
CIE-LCHlch(53.84, 33.15, 245.34°)
OKLaboklab(59.6% -0.069 -0.0848)
OKLCHoklch(59.6% 0.109 230.9)
XYZxyz(18.0165, 21.8273, 46.4347)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238AB4 #B44D23
analogous
#23B495 #238AB4 #2342B4
triadic
#238AB4 #B4238A #8AB423
tetradic
#238AB4 #9523B4 #B44D23 #42B423
square
#238AB4 #9523B4 #B44D23 #42B423
split-complementary
#238AB4 #B42342 #B49523
monochromatic
#0F3B4E #196381 #238AB4 #3BABD9 #6EC1E3

Accessibility & contrast

On white

3.91
#238AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#238AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238AB4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238AB4#FFFFFF#000000##000000
##238AB41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B6
Deuteranopia (green-blind)
#627BB3
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #238ab4;
/* rgb */ color: rgb(35, 138, 180);
/* oklch */ color: oklch(59.6% 0.109 230.9);
Tailwind
colors: {
  custom: {
    50: '#76acca',
    500: '#238ab4',
    950: '#000000',
  },
}
SCSS
$custom: #238ab4;
$custom-light: #76acca;
$custom-dark: #000000;
JSON
{
  "hex": "#238ab4",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 180
  },
  "hsl": {
    "h": 197.379,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59604,
    "c": 0.10936,
    "h": 230.9
  },
  "luminance": 0.2183
}

Semantic roles & 50–950 ramp

primary
#238AB4
secondary
#C98569
accent
#703DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #238AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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