#2236A0#2236A0

#2236A0 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.172 H 268.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2236A0
RGBrgb(34, 54, 160)
HSLhsl(230, 65%, 38%)
HSVhsv(230, 79%, 63%)
CMYKcmyk(78.8%, 66.3%, 0%, 37.3%)
CIE-LABlab(28.16, 31.70, -59.39)
CIE-LCHlch(28.16, 67.32, 298.09°)
OKLaboklab(39.32% -0.0046 -0.1719)
OKLCHoklch(39.32% 0.172 268.5)
XYZxyz(8.3218, 5.5155, 33.8769)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2236A0 #A08C22
analogous
#2275A0 #2236A0 #4D22A0
triadic
#2236A0 #A02236 #36A022
tetradic
#2236A0 #A02275 #A08C22 #22A04D
square
#2236A0 #A02275 #A08C22 #22A04D
split-complementary
#2236A0 #A04D22 #75A022
monochromatic
#0D143B #17256E #2236A0 #2D47D2 #5F73DD

Accessibility & contrast

On white

9.98
#2236A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2236A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2236A0
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2236A0#FFFFFF#000000##FFFFFF
##2236A01.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2236a0;
/* rgb */ color: rgb(34, 54, 160);
/* oklch */ color: oklch(39.3% 0.172 268.5);
Tailwind
colors: {
  custom: {
    50: '#736dbd',
    500: '#2236a0',
    950: '#000000',
  },
}
SCSS
$custom: #2236a0;
$custom-light: #736dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2236a0",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 160
  },
  "hsl": {
    "h": 230.476,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39318,
    "c": 0.17194,
    "h": 268.5
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#2236A0
secondary
#C2B25C
accent
#CD40E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2236A0

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

Preview Lab → · Contrast checker → · Palette generator →

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