#223A72#223A72

#223A72 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.101 H 264.5°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#223A72
RGBrgb(34, 58, 114)
HSLhsl(222, 54%, 29%)
HSVhsv(222, 70%, 45%)
CMYKcmyk(70.2%, 49.1%, 0%, 55.3%)
CIE-LABlab(25.50, 11.02, -35.12)
CIE-LCHlch(25.50, 36.81, 287.42°)
OKLaboklab(36.16% -0.0097 -0.1005)
OKLCHoklch(36.16% 0.101 264.5)
XYZxyz(5.2089, 4.5806, 16.5260)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A72 #725A22
analogous
#226272 #223A72 #322272
triadic
#223A72 #72223A #3A7222
tetradic
#223A72 #722262 #725A22 #227232
square
#223A72 #722262 #725A22 #227232
split-complementary
#223A72 #723222 #627222
monochromatic
#070C18 #142243 #223A72 #3052A1 #466DC8

Accessibility & contrast

On white

10.96
#223A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#223A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A72
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A72#FFFFFF#000000##FFFFFF
##223A721.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223a72;
/* rgb */ color: rgb(34, 58, 114);
/* oklch */ color: oklch(36.2% 0.101 264.5);
Tailwind
colors: {
  custom: {
    50: '#676f9b',
    500: '#223a72',
    950: '#000000',
  },
}
SCSS
$custom: #223a72;
$custom-light: #676f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#223a72",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 222,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.10102,
    "h": 264.5
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#223A72
secondary
#A58A4B
accent
#B14ADD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223A72

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

Preview Lab → · Contrast checker → · Palette generator →

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