#236BD4#236BD4

#236BD4 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.4% C 0.177 H 258.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#236BD4
RGBrgb(35, 107, 212)
HSLhsl(216, 72%, 48%)
HSVhsv(216, 83%, 83%)
CMYKcmyk(83.5%, 49.5%, 0%, 16.9%)
CIE-LABlab(46.48, 16.93, -60.12)
CIE-LCHlch(46.48, 62.46, 285.72°)
OKLaboklab(54.39% -0.0348 -0.1731)
OKLCHoklch(54.39% 0.177 258.6)
XYZxyz(17.8301, 15.6240, 64.3506)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#236BD4 #D48C23
analogous
#23C3D4 #236BD4 #3323D4
triadic
#236BD4 #D4236B #6BD423
tetradic
#236BD4 #D423C3 #D48C23 #23D433
square
#236BD4 #D423C3 #D48C23 #23D433
split-complementary
#236BD4 #D43323 #C3D423
monochromatic
#12366B #1A509F #236BD4 #528DE2 #86AFEB

Accessibility & contrast

On white

5.09
#236BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#236BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #236BD4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##236BD4#FFFFFF#000000##FFFFFF
##236BD41.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2977D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #236bd4;
/* rgb */ color: rgb(35, 107, 212);
/* oklch */ color: oklch(54.4% 0.177 258.6);
Tailwind
colors: {
  custom: {
    50: '#7c94e2',
    500: '#236bd4',
    950: '#000000',
  },
}
SCSS
$custom: #236bd4;
$custom-light: #7c94e2;
$custom-dark: #000000;
JSON
{
  "hex": "#236bd4",
  "rgb": {
    "r": 35,
    "g": 107,
    "b": 212
  },
  "hsl": {
    "h": 215.593,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54392,
    "c": 0.17659,
    "h": 258.6
  },
  "luminance": 0.15626
}

Semantic roles & 50–950 ramp

primary
#236BD4
secondary
#D4B17E
accent
#A539EE
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #236BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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