#223D72#223D72

#223D72 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.097 H 262.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#223D72
RGBrgb(34, 61, 114)
HSLhsl(220, 54%, 29%)
HSVhsv(220, 70%, 45%)
CMYKcmyk(70.2%, 46.5%, 0%, 55.3%)
CIE-LABlab(26.42, 8.93, -33.65)
CIE-LCHlch(26.42, 34.81, 284.86°)
OKLaboklab(36.87% -0.0129 -0.0962)
OKLCHoklch(36.87% 0.097 262.4)
XYZxyz(5.3646, 4.8919, 16.5778)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D72 #725722
analogous
#226572 #223D72 #2F2272
triadic
#223D72 #72223D #3D7222
tetradic
#223D72 #722265 #725722 #22722F
square
#223D72 #722265 #725722 #22722F
split-complementary
#223D72 #722F22 #657222
monochromatic
#070D18 #142443 #223D72 #3056A1 #4672C8

Accessibility & contrast

On white

10.61
#223D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#223D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D72
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D72#FFFFFF#000000##FFFFFF
##223D721.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#153B71
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223d72;
/* rgb */ color: rgb(34, 61, 114);
/* oklch */ color: oklch(36.9% 0.097 262.4);
Tailwind
colors: {
  custom: {
    50: '#67729b',
    500: '#223d72',
    950: '#000000',
  },
}
SCSS
$custom: #223d72;
$custom-light: #67729b;
$custom-dark: #000000;
JSON
{
  "hex": "#223d72",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 219.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36866,
    "c": 0.09703,
    "h": 262.4
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#223D72
secondary
#A5874B
accent
#AC4ADD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #223D72

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

Preview Lab → · Contrast checker → · Palette generator →

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