#223AA5#223AA5

#223AA5 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.174 H 267.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#223AA5
RGBrgb(34, 58, 165)
HSLhsl(229, 66%, 39%)
HSVhsv(229, 79%, 65%)
CMYKcmyk(79.4%, 64.8%, 0%, 35.3%)
CIE-LABlab(29.62, 30.95, -60.02)
CIE-LCHlch(29.62, 67.53, 297.28°)
OKLaboklab(40.53% -0.0071 -0.1737)
OKLCHoklch(40.53% 0.174 267.7)
XYZxyz(8.9619, 6.0818, 36.2916)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223AA5 #A58D22
analogous
#227CA5 #223AA5 #4C22A5
triadic
#223AA5 #A5223A #3AA522
tetradic
#223AA5 #A5227C #A58D22 #22A54C
square
#223AA5 #A5227C #A58D22 #22A54C
split-complementary
#223AA5 #A54C22 #7CA522
monochromatic
#0D1640 #182872 #223AA5 #304ED4 #6379DF

Accessibility & contrast

On white

9.47
#223AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#223AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223AA5
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223AA5#FFFFFF#000000##FFFFFF
##223AA51.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223aa5;
/* rgb */ color: rgb(34, 58, 165);
/* oklch */ color: oklch(40.5% 0.174 267.7);
Tailwind
colors: {
  custom: {
    50: '#7470c1',
    500: '#223aa5',
    950: '#000000',
  },
}
SCSS
$custom: #223aa5;
$custom-light: #7470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#223aa5",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 229.008,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40533,
    "c": 0.17382,
    "h": 267.7
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#223AA5
secondary
#C4B15F
accent
#CA3FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #223AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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