#2236A6#2236A6

#2236A6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.180 H 268.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2236A6
RGBrgb(34, 54, 166)
HSLhsl(231, 66%, 39%)
HSVhsv(231, 80%, 65%)
CMYKcmyk(79.5%, 67.5%, 0%, 34.9%)
CIE-LABlab(28.72, 33.93, -62.09)
CIE-LCHlch(28.72, 70.76, 298.66°)
OKLaboklab(39.91% -0.005 -0.1798)
OKLCHoklch(39.91% 0.18 268.4)
XYZxyz(8.8594, 5.7306, 36.7082)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2236A6 #A69222
analogous
#2278A6 #2236A6 #5022A6
triadic
#2236A6 #A62236 #36A622
tetradic
#2236A6 #A62278 #A69222 #22A650
square
#2236A6 #A62278 #A69222 #22A650
split-complementary
#2236A6 #A65022 #78A622
monochromatic
#0D1540 #182573 #2236A6 #3049D5 #6376DF

Accessibility & contrast

On white

9.78
#2236A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2236A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2236A6
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2236A6#FFFFFF#000000##FFFFFF
##2236A61.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2236a6;
/* rgb */ color: rgb(34, 54, 166);
/* oklch */ color: oklch(39.9% 0.180 268.4);
Tailwind
colors: {
  custom: {
    50: '#746dc1',
    500: '#2236a6',
    950: '#000000',
  },
}
SCSS
$custom: #2236a6;
$custom-light: #746dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2236a6",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 230.909,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39905,
    "c": 0.17984,
    "h": 268.4
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#2236A6
secondary
#C4B55F
accent
#CF3FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2236A6

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

Preview Lab → · Contrast checker → · Palette generator →

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