#2336A9#2336A9

#2336A9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.183 H 268.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2336A9
RGBrgb(35, 54, 169)
HSLhsl(231, 66%, 40%)
HSVhsv(231, 79%, 66%)
CMYKcmyk(79.3%, 68%, 0%, 33.7%)
CIE-LABlab(29.05, 35.13, -63.35)
CIE-LCHlch(29.05, 72.44, 299.01°)
OKLaboklab(40.25% -0.0042 -0.1834)
OKLCHoklch(40.25% 0.183 268.7)
XYZxyz(9.1713, 5.8592, 38.1760)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2336A9 #A99623
analogous
#2379A9 #2336A9 #5323A9
triadic
#2336A9 #A92336 #36A923
tetradic
#2336A9 #A92379 #A99623 #23A953
square
#2336A9 #A92379 #A99623 #23A953
split-complementary
#2336A9 #A95323 #79A923
monochromatic
#0E1644 #192676 #2336A9 #344BD5 #6778DF

Accessibility & contrast

On white

9.67
#2336A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2336A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2336A9
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2336A9#FFFFFF#000000##FFFFFF
##2336A91.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2336a9;
/* rgb */ color: rgb(35, 54, 169);
/* oklch */ color: oklch(40.2% 0.183 268.7);
Tailwind
colors: {
  custom: {
    50: '#756dc4',
    500: '#2336a9',
    950: '#000000',
  },
}
SCSS
$custom: #2336a9;
$custom-light: #756dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2336a9",
  "rgb": {
    "r": 35,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 231.493,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.40247,
    "c": 0.18347,
    "h": 268.7
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#2336A9
secondary
#C5B763
accent
#D13FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2336A9

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

Preview Lab → · Contrast checker → · Palette generator →

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