#2236BC#2236BC

#2236BC is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.1% C 0.208 H 268.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2236BC
RGBrgb(34, 54, 188)
HSLhsl(232, 69%, 44%)
HSVhsv(232, 82%, 74%)
CMYKcmyk(81.9%, 71.3%, 0%, 26.3%)
CIE-LABlab(30.90, 41.91, -71.63)
CIE-LCHlch(30.90, 82.99, 300.33°)
OKLaboklab(42.14% -0.0069 -0.2076)
OKLCHoklch(42.14% 0.208 268.1)
XYZxyz(11.0528, 6.6079, 48.2601)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2236BC #BCA822
analogous
#2283BC #2236BC #5B22BC
triadic
#2236BC #BC2236 #36BC22
tetradic
#2236BC #BC2283 #BCA822 #22BC5B
square
#2236BC #BC2283 #BCA822 #22BC5B
split-complementary
#2236BC #BC5B22 #83BC22
monochromatic
#0F1854 #192788 #2236BC #3F53DC #7382E6

Accessibility & contrast

On white

9.04
#2236BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2236BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2236BC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2236BC#FFFFFF#000000##FFFFFF
##2236BC1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0041BA
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2236bc;
/* rgb */ color: rgb(34, 54, 188);
/* oklch */ color: oklch(42.1% 0.208 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a6ed1',
    500: '#2236bc',
    950: '#000000',
  },
}
SCSS
$custom: #2236bc;
$custom-light: #7a6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2236bc",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 232.208,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42137,
    "c": 0.2077,
    "h": 268.1
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#2236BC
secondary
#CDC06D
accent
#D53CEC
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2236BC

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

Preview Lab → · Contrast checker → · Palette generator →

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