#223A71#223A71

#223A71 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.100 H 264.3°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#223A71
RGBrgb(34, 58, 113)
HSLhsl(222, 54%, 29%)
HSVhsv(222, 70%, 44%)
CMYKcmyk(69.9%, 48.7%, 0%, 55.7%)
CIE-LABlab(25.44, 10.63, -34.60)
CIE-LCHlch(25.44, 36.19, 287.07°)
OKLaboklab(36.09% -0.0099 -0.099)
OKLCHoklch(36.09% 0.1 264.3)
XYZxyz(5.1523, 4.5579, 16.2278)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A71 #715922
analogous
#226271 #223A71 #322271
triadic
#223A71 #71223A #3A7122
tetradic
#223A71 #712262 #715922 #227132
square
#223A71 #712262 #715922 #227132
split-complementary
#223A71 #713222 #627122
monochromatic
#070C18 #142242 #223A71 #3052A0 #466DC7

Accessibility & contrast

On white

10.99
#223A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#223A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A71
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A71#FFFFFF#000000##FFFFFF
##223A711.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#0F3970
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223a71;
/* rgb */ color: rgb(34, 58, 113);
/* oklch */ color: oklch(36.1% 0.100 264.3);
Tailwind
colors: {
  custom: {
    50: '#676f9a',
    500: '#223a71',
    950: '#000000',
  },
}
SCSS
$custom: #223a71;
$custom-light: #676f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#223a71",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 221.772,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36085,
    "c": 0.0995,
    "h": 264.3
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#223A71
secondary
#A4894A
accent
#B14BDD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #223A71

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

Preview Lab → · Contrast checker → · Palette generator →

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