#236AD4#236AD4

#236AD4 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.2% C 0.178 H 258.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#236AD4
RGBrgb(35, 106, 212)
HSLhsl(216, 72%, 48%)
HSVhsv(216, 83%, 83%)
CMYKcmyk(83.5%, 50%, 0%, 16.9%)
CIE-LABlab(46.20, 17.57, -60.57)
CIE-LCHlch(46.20, 63.07, 286.18°)
OKLaboklab(54.18% -0.0341 -0.1745)
OKLCHoklch(54.18% 0.178 258.9)
XYZxyz(17.7265, 15.4166, 64.3160)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#236AD4 #D48D23
analogous
#23C2D4 #236AD4 #3423D4
triadic
#236AD4 #D4236A #6AD423
tetradic
#236AD4 #D423C2 #D48D23 #23D434
square
#236AD4 #D423C2 #D48D23 #23D434
split-complementary
#236AD4 #D43423 #C2D423
monochromatic
#12356B #1A509F #236AD4 #528CE2 #86AFEB

Accessibility & contrast

On white

5.14
#236AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#236AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #236AD4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##236AD4#FFFFFF#000000##FFFFFF
##236AD41.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2676D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #236ad4;
/* rgb */ color: rgb(35, 106, 212);
/* oklch */ color: oklch(54.2% 0.178 258.9);
Tailwind
colors: {
  custom: {
    50: '#7d93e2',
    500: '#236ad4',
    950: '#000000',
  },
}
SCSS
$custom: #236ad4;
$custom-light: #7d93e2;
$custom-dark: #000000;
JSON
{
  "hex": "#236ad4",
  "rgb": {
    "r": 35,
    "g": 106,
    "b": 212
  },
  "hsl": {
    "h": 215.932,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.17777,
    "h": 258.9
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#236AD4
secondary
#D4B27E
accent
#A639EE
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #236AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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