#223A89#223A89

#223A89 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.135 H 266.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#223A89
RGBrgb(34, 58, 137)
HSLhsl(226, 60%, 34%)
HSVhsv(226, 75%, 54%)
CMYKcmyk(75.2%, 57.7%, 0%, 46.3%)
CIE-LABlab(27.22, 20.12, -46.81)
CIE-LCHlch(27.22, 50.95, 293.26°)
OKLaboklab(38% -0.0073 -0.1349)
OKLCHoklch(38% 0.135 266.9)
XYZxyz(6.6865, 5.1716, 24.3079)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A89 #897122
analogous
#226D89 #223A89 #3D2289
triadic
#223A89 #89223A #3A8922
tetradic
#223A89 #89226D #897122 #22893D
square
#223A89 #89226D #897122 #22893D
split-complementary
#223A89 #893D22 #6D8922
monochromatic
#0A1027 #162558 #223A89 #2E4FBA #5170D4

Accessibility & contrast

On white

10.32
#223A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#223A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A89
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A89#FFFFFF#000000##FFFFFF
##223A891.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223a89;
/* rgb */ color: rgb(34, 58, 137);
/* oklch */ color: oklch(38.0% 0.135 266.9);
Tailwind
colors: {
  custom: {
    50: '#6d6fac',
    500: '#223a89',
    950: '#000000',
  },
}
SCSS
$custom: #223a89;
$custom-light: #6d6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#223a89",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 226.019,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38004,
    "c": 0.13514,
    "h": 266.9
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#223A89
secondary
#B89F4F
accent
#BE44E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223A89

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

Preview Lab → · Contrast checker → · Palette generator →

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