#223D89#223D89

#223D89 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.131 H 265.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#223D89
RGBrgb(34, 61, 137)
HSLhsl(224, 60%, 34%)
HSVhsv(224, 75%, 54%)
CMYKcmyk(75.2%, 55.5%, 0%, 46.3%)
CIE-LABlab(28.07, 18.04, -45.43)
CIE-LCHlch(28.07, 48.89, 291.66°)
OKLaboklab(38.65% -0.0098 -0.1308)
OKLCHoklch(38.65% 0.131 265.7)
XYZxyz(6.8422, 5.4830, 24.3598)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D89 #896E22
analogous
#227089 #223D89 #3A2289
triadic
#223D89 #89223D #3D8922
tetradic
#223D89 #892270 #896E22 #22893A
square
#223D89 #892270 #896E22 #22893A
split-complementary
#223D89 #893A22 #708922
monochromatic
#0A1127 #162758 #223D89 #2E53BA #5174D4

Accessibility & contrast

On white

10.02
#223D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#223D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D89
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D89#FFFFFF#000000##FFFFFF
##223D891.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223d89;
/* rgb */ color: rgb(34, 61, 137);
/* oklch */ color: oklch(38.6% 0.131 265.7);
Tailwind
colors: {
  custom: {
    50: '#6c72ac',
    500: '#223d89',
    950: '#000000',
  },
}
SCSS
$custom: #223d89;
$custom-light: #6c72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#223d89",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 224.272,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.1312,
    "h": 265.7
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#223D89
secondary
#B89C4F
accent
#BA44E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223D89

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

Preview Lab → · Contrast checker → · Palette generator →

#223D89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva