#223AA9#223AA9

#223AA9 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.179 H 267.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#223AA9
RGBrgb(34, 58, 169)
HSLhsl(229, 67%, 40%)
HSVhsv(229, 80%, 66%)
CMYKcmyk(79.9%, 65.7%, 0%, 33.7%)
CIE-LABlab(29.98, 32.45, -61.82)
CIE-LCHlch(29.98, 69.82, 297.70°)
OKLaboklab(40.92% -0.0072 -0.179)
OKLCHoklch(40.92% 0.179 267.7)
XYZxyz(9.3317, 6.2297, 38.2391)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223AA9 #A99122
analogous
#227EA9 #223AA9 #4D22A9
triadic
#223AA9 #A9223A #3AA922
tetradic
#223AA9 #A9227E #A99122 #22A94D
square
#223AA9 #A9227E #A99122 #22A94D
split-complementary
#223AA9 #A94D22 #7EA922
monochromatic
#0D1743 #182976 #223AA9 #324FD6 #657BE0

Accessibility & contrast

On white

9.35
#223AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#223AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223AA9
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223AA9#FFFFFF#000000##FFFFFF
##223AA91.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223aa9;
/* rgb */ color: rgb(34, 58, 169);
/* oklch */ color: oklch(40.9% 0.179 267.7);
Tailwind
colors: {
  custom: {
    50: '#7570c4',
    500: '#223aa9',
    950: '#000000',
  },
}
SCSS
$custom: #223aa9;
$custom-light: #7570c4;
$custom-dark: #000000;
JSON
{
  "hex": "#223aa9",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 229.333,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40915,
    "c": 0.17911,
    "h": 267.7
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#223AA9
secondary
#C5B461
accent
#CB3EE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #223AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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