#2236A7#2236A7

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

Color values

HEX#2236A7
RGBrgb(34, 54, 167)
HSLhsl(231, 66%, 39%)
HSVhsv(231, 80%, 65%)
CMYKcmyk(79.6%, 67.7%, 0%, 34.5%)
CIE-LABlab(28.82, 34.31, -62.54)
CIE-LCHlch(28.82, 71.33, 298.75°)
OKLaboklab(40% -0.005 -0.1811)
OKLCHoklch(40% 0.181 268.4)
XYZxyz(8.9515, 5.7674, 37.1932)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2236A7 #A79322
analogous
#2279A7 #2236A7 #5022A7
triadic
#2236A7 #A72236 #36A722
tetradic
#2236A7 #A72279 #A79322 #22A750
square
#2236A7 #A72279 #A79322 #22A750
split-complementary
#2236A7 #A75022 #79A722
monochromatic
#0D1541 #182674 #2236A7 #314AD5 #6477DF

Accessibility & contrast

On white

9.75
#2236A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2236A7
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2236A7#FFFFFF#000000##FFFFFF
##2236A71.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2236a7;
/* rgb */ color: rgb(34, 54, 167);
/* oklch */ color: oklch(40.0% 0.181 268.4);
Tailwind
colors: {
  custom: {
    50: '#756dc2',
    500: '#2236a7',
    950: '#000000',
  },
}
SCSS
$custom: #2236a7;
$custom-light: #756dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2236a7",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 230.977,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40004,
    "c": 0.18114,
    "h": 268.4
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#2236A7
secondary
#C5B660
accent
#CF3FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2236A7

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

Preview Lab → · Contrast checker → · Palette generator →

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