#2236A9#2236A9

#2236A9 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.184 H 268.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2236A9
RGBrgb(34, 54, 169)
HSLhsl(231, 67%, 40%)
HSVhsv(231, 80%, 66%)
CMYKcmyk(79.9%, 68%, 0%, 33.7%)
CIE-LABlab(29.01, 35.05, -63.42)
CIE-LCHlch(29.01, 72.46, 298.92°)
OKLaboklab(40.2% -0.0052 -0.1837)
OKLCHoklch(40.2% 0.184 268.4)
XYZxyz(9.1378, 5.8419, 38.1744)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2236A9 #A99522
analogous
#227AA9 #2236A9 #5222A9
triadic
#2236A9 #A92236 #36A922
tetradic
#2236A9 #A9227A #A99522 #22A952
square
#2236A9 #A9227A #A99522 #22A952
split-complementary
#2236A9 #A95222 #7AA922
monochromatic
#0D1543 #182676 #2236A9 #324BD6 #6578E0

Accessibility & contrast

On white

9.68
#2236A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2236A9
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2236A9#FFFFFF#000000##FFFFFF
##2236A91.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.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: #2236a9;
/* rgb */ color: rgb(34, 54, 169);
/* oklch */ color: oklch(40.2% 0.184 268.4);
Tailwind
colors: {
  custom: {
    50: '#756dc4',
    500: '#2236a9',
    950: '#000000',
  },
}
SCSS
$custom: #2236a9;
$custom-light: #756dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2236a9",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 231.111,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40202,
    "c": 0.18373,
    "h": 268.4
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#2236A9
secondary
#C5B761
accent
#D03EE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2236A9

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

Preview Lab → · Contrast checker → · Palette generator →

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