#2236A8#2236A8

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

Color values

HEX#2236A8
RGBrgb(34, 54, 168)
HSLhsl(231, 66%, 40%)
HSVhsv(231, 80%, 66%)
CMYKcmyk(79.8%, 67.9%, 0%, 34.1%)
CIE-LABlab(28.91, 34.68, -62.98)
CIE-LCHlch(28.91, 71.89, 298.84°)
OKLaboklab(40.1% -0.0051 -0.1824)
OKLCHoklch(40.1% 0.182 268.4)
XYZxyz(9.0443, 5.8045, 37.6819)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2236A8 #A89422
analogous
#2279A8 #2236A8 #5122A8
triadic
#2236A8 #A82236 #36A822
tetradic
#2236A8 #A82279 #A89422 #22A851
square
#2236A8 #A82279 #A89422 #22A851
split-complementary
#2236A8 #A85122 #79A822
monochromatic
#0D1542 #182675 #2236A8 #324AD5 #6577E0

Accessibility & contrast

On white

9.72
#2236A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2236A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2236A8
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2236A8#FFFFFF#000000##FFFFFF
##2236A81.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2236a8;
/* rgb */ color: rgb(34, 54, 168);
/* oklch */ color: oklch(40.1% 0.182 268.4);
Tailwind
colors: {
  custom: {
    50: '#756dc3',
    500: '#2236a8',
    950: '#000000',
  },
}
SCSS
$custom: #2236a8;
$custom-light: #756dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2236a8",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 231.045,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40103,
    "c": 0.18244,
    "h": 268.4
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#2236A8
secondary
#C5B661
accent
#D03FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2236A8

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

Preview Lab → · Contrast checker → · Palette generator →

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