#223589#223589

#223589 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.142 H 268.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#223589
RGBrgb(34, 53, 137)
HSLhsl(229, 60%, 34%)
HSVhsv(229, 75%, 54%)
CMYKcmyk(75.2%, 61.3%, 0%, 46.3%)
CIE-LABlab(25.84, 23.57, -49.06)
CIE-LCHlch(25.84, 54.43, 295.66°)
OKLaboklab(36.97% -0.0033 -0.1416)
OKLCHoklch(36.97% 0.142 268.6)
XYZxyz(6.4466, 4.6918, 24.2279)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223589 #897622
analogous
#226889 #223589 #422289
triadic
#223589 #892235 #358922
tetradic
#223589 #892268 #897622 #228942
square
#223589 #892268 #897622 #228942
split-complementary
#223589 #894222 #688922
monochromatic
#0A0F27 #162258 #223589 #2E48BA #516AD4

Accessibility & contrast

On white

10.83
#223589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#223589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223589
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223589#FFFFFF#000000##FFFFFF
##2235891.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223589;
/* rgb */ color: rgb(34, 53, 137);
/* oklch */ color: oklch(37.0% 0.142 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d6cac',
    500: '#223589',
    950: '#000000',
  },
}
SCSS
$custom: #223589;
$custom-light: #6d6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#223589",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 228.932,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36972,
    "c": 0.14166,
    "h": 268.6
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#223589
secondary
#B8A44F
accent
#C644E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223589

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

Preview Lab → · Contrast checker → · Palette generator →

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