#238AD4#238AD4

#238AD4 is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.3% C 0.143 H 245.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#238AD4
RGBrgb(35, 138, 212)
HSLhsl(205, 72%, 48%)
HSVhsv(205, 83%, 83%)
CMYKcmyk(83.5%, 34.9%, 0%, 16.9%)
CIE-LABlab(55.36, -2.20, -45.90)
CIE-LCHlch(55.36, 45.95, 267.26°)
OKLaboklab(61.31% -0.0588 -0.1307)
OKLCHoklch(61.31% 0.143 245.8)
XYZxyz(21.6607, 23.2850, 65.6274)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238AD4 #D46D23
analogous
#23D4C5 #238AD4 #2331D4
triadic
#238AD4 #D4238A #8AD423
tetradic
#238AD4 #C523D4 #D46D23 #31D423
square
#238AD4 #C523D4 #D46D23 #31D423
split-complementary
#238AD4 #D42331 #D4C523
monochromatic
#12466B #1A689F #238AD4 #52A6E2 #86C1EB

Accessibility & contrast

On white

3.71
#238AD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#238AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238AD4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238AD4#FFFFFF#000000##000000
##238AD41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#678DD7
Deuteranopia (green-blind)
#4D7DD3
Tritanopia (blue-blind)
#009CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #238ad4;
/* rgb */ color: rgb(35, 138, 212);
/* oklch */ color: oklch(61.3% 0.143 245.8);
Tailwind
colors: {
  custom: {
    50: '#7cabe1',
    500: '#238ad4',
    950: '#000000',
  },
}
SCSS
$custom: #238ad4;
$custom-light: #7cabe1;
$custom-dark: #000000;
JSON
{
  "hex": "#238ad4",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 212
  },
  "hsl": {
    "h": 205.085,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.14335,
    "h": 245.8
  },
  "luminance": 0.23288
}

Semantic roles & 50–950 ramp

primary
#238AD4
secondary
#D4A27E
accent
#8539EE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0B1015
muted
#7C7F83

Preview Lab

Preview with #238AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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