#2336D4#2336D4

#2336D4 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.7% C 0.236 H 267.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2336D4
RGBrgb(35, 54, 212)
HSLhsl(234, 72%, 48%)
HSVhsv(234, 83%, 83%)
CMYKcmyk(83.5%, 74.5%, 0%, 16.9%)
CIE-LABlab(33.45, 50.23, -81.43)
CIE-LCHlch(33.45, 95.67, 301.67°)
OKLaboklab(44.72% -0.0088 -0.236)
OKLCHoklch(44.72% 0.236 267.9)
XYZxyz(13.8919, 7.7474, 63.0378)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2336D4 #D4C123
analogous
#238ED4 #2336D4 #6823D4
triadic
#2336D4 #D42336 #36D423
tetradic
#2336D4 #D4238E #D4C123 #23D468
square
#2336D4 #D4238E #D4C123 #23D468
split-complementary
#2336D4 #D46823 #8ED423
monochromatic
#121B6B #1A299F #2336D4 #5261E2 #8691EB

Accessibility & contrast

On white

8.24
#2336D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2336D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2336D4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2336D4#FFFFFF#000000##FFFFFF
##2336D41.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#0046D1
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2336d4;
/* rgb */ color: rgb(35, 54, 212);
/* oklch */ color: oklch(44.7% 0.236 267.9);
Tailwind
colors: {
  custom: {
    50: '#806fe3',
    500: '#2336d4',
    950: '#000000',
  },
}
SCSS
$custom: #2336d4;
$custom-light: #806fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#2336d4",
  "rgb": {
    "r": 35,
    "g": 54,
    "b": 212
  },
  "hsl": {
    "h": 233.559,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44719,
    "c": 0.2362,
    "h": 267.9
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#2336D4
secondary
#D4CB7E
accent
#DB39EE
background
#F8F6FE
surface
#F0ECFC
border
#CBC7D5
text
#0D0716
muted
#7D7A84

Preview Lab

Preview with #2336D4

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

Preview Lab → · Contrast checker → · Palette generator →

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