#223AA7#223AA7

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

Color values

HEX#223AA7
RGBrgb(34, 58, 167)
HSLhsl(229, 66%, 39%)
HSVhsv(229, 80%, 65%)
CMYKcmyk(79.6%, 65.3%, 0%, 34.5%)
CIE-LABlab(29.80, 31.70, -60.92)
CIE-LCHlch(29.80, 68.68, 297.49°)
OKLaboklab(40.72% -0.0072 -0.1763)
OKLCHoklch(40.72% 0.176 267.7)
XYZxyz(9.1454, 6.1552, 37.2578)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223AA7 #A78F22
analogous
#227DA7 #223AA7 #4D22A7
triadic
#223AA7 #A7223A #3AA722
tetradic
#223AA7 #A7227D #A78F22 #22A74D
square
#223AA7 #A7227D #A78F22 #22A74D
split-complementary
#223AA7 #A74D22 #7DA722
monochromatic
#0D1741 #182874 #223AA7 #314FD5 #647ADF

Accessibility & contrast

On white

9.41
#223AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#223AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223AA7
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223AA7#FFFFFF#000000##FFFFFF
##223AA71.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223aa7;
/* rgb */ color: rgb(34, 58, 167);
/* oklch */ color: oklch(40.7% 0.176 267.7);
Tailwind
colors: {
  custom: {
    50: '#7470c2',
    500: '#223aa7',
    950: '#000000',
  },
}
SCSS
$custom: #223aa7;
$custom-light: #7470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#223aa7",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 229.173,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40724,
    "c": 0.17648,
    "h": 267.7
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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