#237AD4#237AD4

#237AD4 is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.7% C 0.159 H 253.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#237AD4
RGBrgb(35, 122, 212)
HSLhsl(211, 72%, 48%)
HSVhsv(211, 83%, 83%)
CMYKcmyk(83.5%, 42.5%, 0%, 16.9%)
CIE-LABlab(50.72, 7.47, -53.30)
CIE-LCHlch(50.72, 53.82, 277.98°)
OKLaboklab(57.67% -0.0458 -0.1527)
OKLCHoklch(57.67% 0.159 253.3)
XYZxyz(19.5319, 19.0274, 64.9178)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237AD4 #D47D23
analogous
#23D2D4 #237AD4 #2423D4
triadic
#237AD4 #D4237A #7AD423
tetradic
#237AD4 #D423D2 #D47D23 #23D424
square
#237AD4 #D423D2 #D47D23 #23D424
split-complementary
#237AD4 #D42423 #D2D423
monochromatic
#123E6B #1A5C9F #237AD4 #5299E2 #86B8EB

Accessibility & contrast

On white

4.37
#237AD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#237AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #237AD4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237AD4#FFFFFF#000000##000000
##237AD41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D8
Deuteranopia (green-blind)
#2A72D2
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #237ad4;
/* rgb */ color: rgb(35, 122, 212);
/* oklch */ color: oklch(57.7% 0.159 253.3);
Tailwind
colors: {
  custom: {
    50: '#7c9fe2',
    500: '#237ad4',
    950: '#000000',
  },
}
SCSS
$custom: #237ad4;
$custom-light: #7c9fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#237ad4",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 212
  },
  "hsl": {
    "h": 210.508,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57671,
    "c": 0.15948,
    "h": 253.3
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

primary
#237AD4
secondary
#D4AA7E
accent
#9539EE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #237AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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