#223AA8#223AA8

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

Color values

HEX#223AA8
RGBrgb(34, 58, 168)
HSLhsl(229, 66%, 40%)
HSVhsv(229, 80%, 66%)
CMYKcmyk(79.8%, 65.5%, 0%, 34.1%)
CIE-LABlab(29.89, 32.08, -61.37)
CIE-LCHlch(29.89, 69.25, 297.59°)
OKLaboklab(40.82% -0.0072 -0.1776)
OKLCHoklch(40.82% 0.178 267.7)
XYZxyz(9.2382, 6.1923, 37.7465)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223AA8 #A89022
analogous
#227DA8 #223AA8 #4D22A8
triadic
#223AA8 #A8223A #3AA822
tetradic
#223AA8 #A8227D #A89022 #22A84D
square
#223AA8 #A8227D #A89022 #22A84D
split-complementary
#223AA8 #A84D22 #7DA822
monochromatic
#0D1742 #182875 #223AA8 #324FD5 #657BE0

Accessibility & contrast

On white

9.38
#223AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#223AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223AA8
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223AA8#FFFFFF#000000##FFFFFF
##223AA81.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223aa8;
/* rgb */ color: rgb(34, 58, 168);
/* oklch */ color: oklch(40.8% 0.178 267.7);
Tailwind
colors: {
  custom: {
    50: '#7470c3',
    500: '#223aa8',
    950: '#000000',
  },
}
SCSS
$custom: #223aa8;
$custom-light: #7470c3;
$custom-dark: #000000;
JSON
{
  "hex": "#223aa8",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 229.254,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40819,
    "c": 0.17779,
    "h": 267.7
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#223AA8
secondary
#C5B361
accent
#CB3FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #223AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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