#237ED4#237ED4

#237ED4 is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.6% C 0.155 H 251.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#237ED4
RGBrgb(35, 126, 212)
HSLhsl(209, 72%, 48%)
HSVhsv(209, 83%, 83%)
CMYKcmyk(83.5%, 40.6%, 0%, 16.9%)
CIE-LABlab(51.87, 5.01, -51.46)
CIE-LCHlch(51.87, 51.70, 275.56°)
OKLaboklab(58.57% -0.049 -0.1473)
OKLCHoklch(58.57% 0.155 251.6)
XYZxyz(20.0331, 20.0300, 65.0849)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237ED4 #D47923
analogous
#23D4D1 #237ED4 #2325D4
triadic
#237ED4 #D4237E #7ED423
tetradic
#237ED4 #D123D4 #D47923 #25D423
square
#237ED4 #D123D4 #D47923 #25D423
split-complementary
#237ED4 #D42325 #D4D123
monochromatic
#12406B #1A5F9F #237ED4 #529CE2 #86BAEB

Accessibility & contrast

On white

4.19
#237ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#237ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #237ED4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237ED4#FFFFFF#000000##000000
##237ED41.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D7
Deuteranopia (green-blind)
#3574D2
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #237ed4;
/* rgb */ color: rgb(35, 126, 212);
/* oklch */ color: oklch(58.6% 0.155 251.6);
Tailwind
colors: {
  custom: {
    50: '#7ca2e2',
    500: '#237ed4',
    950: '#000000',
  },
}
SCSS
$custom: #237ed4;
$custom-light: #7ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#237ed4",
  "rgb": {
    "r": 35,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 209.153,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58569,
    "c": 0.1552,
    "h": 251.6
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

primary
#237ED4
secondary
#D4A87E
accent
#9139EE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #237ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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