#223E89#223E89

#223E89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.130 H 265.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#223E89
RGBrgb(34, 62, 137)
HSLhsl(224, 60%, 34%)
HSVhsv(224, 75%, 54%)
CMYKcmyk(75.2%, 54.7%, 0%, 46.3%)
CIE-LABlab(28.36, 17.35, -44.97)
CIE-LCHlch(28.36, 48.20, 291.10°)
OKLaboklab(38.86% -0.0106 -0.1294)
OKLCHoklch(38.86% 0.13 265.3)
XYZxyz(6.8961, 5.5907, 24.3777)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E89 #896D22
analogous
#227189 #223E89 #392289
triadic
#223E89 #89223E #3E8922
tetradic
#223E89 #892271 #896D22 #228939
square
#223E89 #892271 #896D22 #228939
split-complementary
#223E89 #893922 #718922
monochromatic
#0A1227 #162858 #223E89 #2E54BA #5175D4

Accessibility & contrast

On white

9.91
#223E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#223E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E89
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E89#FFFFFF#000000##FFFFFF
##223E891.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223e89;
/* rgb */ color: rgb(34, 62, 137);
/* oklch */ color: oklch(38.9% 0.130 265.3);
Tailwind
colors: {
  custom: {
    50: '#6c72ac',
    500: '#223e89',
    950: '#000000',
  },
}
SCSS
$custom: #223e89;
$custom-light: #6c72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#223e89",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 223.689,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38862,
    "c": 0.12988,
    "h": 265.3
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#223E89
secondary
#B89B4F
accent
#B844E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #223E89

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

Preview Lab → · Contrast checker → · Palette generator →

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