#2236BD#2236BD

#2236BD is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.2% C 0.209 H 268.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2236BD
RGBrgb(34, 54, 189)
HSLhsl(232, 70%, 44%)
HSVhsv(232, 82%, 74%)
CMYKcmyk(82%, 71.4%, 0%, 25.9%)
CIE-LABlab(31.00, 42.26, -72.05)
CIE-LCHlch(31.00, 83.53, 300.39°)
OKLaboklab(42.24% -0.007 -0.2088)
OKLCHoklch(42.24% 0.209 268.1)
XYZxyz(11.1610, 6.6512, 48.8298)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2236BD #BDA922
analogous
#2283BD #2236BD #5B22BD
triadic
#2236BD #BD2236 #36BD22
tetradic
#2236BD #BD2283 #BDA922 #22BD5B
square
#2236BD #BD2283 #BDA922 #22BD5B
split-complementary
#2236BD #BD5B22 #83BD22
monochromatic
#0F1855 #192789 #2236BD #4054DD #7382E6

Accessibility & contrast

On white

9.01
#2236BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2236BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2236BD
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2236BD#FFFFFF#000000##FFFFFF
##2236BD1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0041BB
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2236bd;
/* rgb */ color: rgb(34, 54, 189);
/* oklch */ color: oklch(42.2% 0.209 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a6ed2',
    500: '#2236bd',
    950: '#000000',
  },
}
SCSS
$custom: #2236bd;
$custom-light: #7a6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#2236bd",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 232.258,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.20893,
    "h": 268.1
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#2236BD
secondary
#CDC16E
accent
#D63BEC
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2236BD

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

Preview Lab → · Contrast checker → · Palette generator →

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