#2336B1#2336B1

#2336B1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.194 H 268.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2336B1
RGBrgb(35, 54, 177)
HSLhsl(232, 67%, 42%)
HSVhsv(232, 80%, 69%)
CMYKcmyk(80.2%, 69.5%, 0%, 30.6%)
CIE-LABlab(29.83, 38.05, -66.86)
CIE-LCHlch(29.83, 76.92, 299.65°)
OKLaboklab(41.05% -0.0049 -0.1936)
OKLCHoklch(41.05% 0.194 268.5)
XYZxyz(9.9454, 6.1688, 42.2530)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2336B1 #B19E23
analogous
#237DB1 #2336B1 #5723B1
triadic
#2336B1 #B12336 #36B123
tetradic
#2336B1 #B1237D #B19E23 #23B157
square
#2336B1 #B1237D #B19E23 #23B157
split-complementary
#2336B1 #B15723 #7DB123
monochromatic
#0F174B #19267E #2336B1 #394FD8 #6C7CE2

Accessibility & contrast

On white

9.40
#2336B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2336B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2336B1
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2336B1#FFFFFF#000000##FFFFFF
##2336B11.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2336b1;
/* rgb */ color: rgb(35, 54, 177);
/* oklch */ color: oklch(41.0% 0.194 268.5);
Tailwind
colors: {
  custom: {
    50: '#776dc9',
    500: '#2336b1',
    950: '#000000',
  },
}
SCSS
$custom: #2336b1;
$custom-light: #776dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2336b1",
  "rgb": {
    "r": 35,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 231.972,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.19371,
    "h": 268.5
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#2336B1
secondary
#C8BB68
accent
#D33EEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2336B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2336B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva