#223591#223591

#223591 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.153 H 268.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#223591
RGBrgb(34, 53, 145)
HSLhsl(230, 62%, 35%)
HSVhsv(230, 77%, 57%)
CMYKcmyk(76.6%, 63.4%, 0%, 43.1%)
CIE-LABlab(26.53, 26.66, -52.88)
CIE-LCHlch(26.53, 59.22, 296.76°)
OKLaboklab(37.7% -0.0034 -0.1528)
OKLCHoklch(37.7% 0.153 268.7)
XYZxyz(7.0419, 4.9299, 27.3630)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223591 #917E22
analogous
#226C91 #223591 #472291
triadic
#223591 #912235 #359122
tetradic
#223591 #91226C #917E22 #229147
square
#223591 #91226C #917E22 #229147
split-complementary
#223591 #914722 #6C9122
monochromatic
#0B112E #16235F #223591 #2E47C3 #566CD7

Accessibility & contrast

On white

10.57
#223591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#223591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223591
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223591#FFFFFF#000000##FFFFFF
##2235911.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223591;
/* rgb */ color: rgb(34, 53, 145);
/* oklch */ color: oklch(37.7% 0.153 268.7);
Tailwind
colors: {
  custom: {
    50: '#6f6cb2',
    500: '#223591',
    950: '#000000',
  },
}
SCSS
$custom: #223591;
$custom-light: #6f6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#223591",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 229.73,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37704,
    "c": 0.15286,
    "h": 268.7
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#223591
secondary
#BBAA53
accent
#C943E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #223591

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

Preview Lab → · Contrast checker → · Palette generator →

#223591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva