#2336B2#2336B2

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

Color values

HEX#2336B2
RGBrgb(35, 54, 178)
HSLhsl(232, 67%, 42%)
HSVhsv(232, 80%, 70%)
CMYKcmyk(80.3%, 69.7%, 0%, 30.2%)
CIE-LABlab(29.93, 38.41, -67.29)
CIE-LCHlch(29.93, 77.48, 299.72°)
OKLaboklab(41.15% -0.005 -0.1949)
OKLCHoklch(41.15% 0.195 268.5)
XYZxyz(10.0454, 6.2088, 42.7798)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2336B2 #B29F23
analogous
#237EB2 #2336B2 #5823B2
triadic
#2336B2 #B22336 #36B223
tetradic
#2336B2 #B2237E #B29F23 #23B258
square
#2336B2 #B2237E #B29F23 #23B258
split-complementary
#2336B2 #B25823 #7EB223
monochromatic
#0F174C #19267F #2336B2 #3A4FD8 #6D7DE2

Accessibility & contrast

On white

9.37
#2336B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2336B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2336B2
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2336B2#FFFFFF#000000##FFFFFF
##2336B21.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2336b2;
/* rgb */ color: rgb(35, 54, 178);
/* oklch */ color: oklch(41.2% 0.195 268.5);
Tailwind
colors: {
  custom: {
    50: '#786dca',
    500: '#2336b2',
    950: '#000000',
  },
}
SCSS
$custom: #2336b2;
$custom-light: #786dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2336b2",
  "rgb": {
    "r": 35,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 232.028,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.19498,
    "h": 268.5
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#2336B2
secondary
#C9BC68
accent
#D33EEA
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2336B2

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

Preview Lab → · Contrast checker → · Palette generator →

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