#223D7A#223D7A

#223D7A is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.109 H 263.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#223D7A
RGBrgb(34, 61, 122)
HSLhsl(222, 56%, 31%)
HSVhsv(222, 72%, 48%)
CMYKcmyk(72.1%, 50%, 0%, 52.2%)
CIE-LABlab(26.97, 12.10, -37.84)
CIE-LCHlch(26.97, 39.73, 287.73°)
OKLaboklab(37.46% -0.0115 -0.1085)
OKLCHoklch(37.46% 0.109 263.9)
XYZxyz(5.8400, 5.0821, 19.0817)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D7A #7A5F22
analogous
#22697A #223D7A #33227A
triadic
#223D7A #7A223D #3D7A22
tetradic
#223D7A #7A2269 #7A5F22 #227A33
square
#223D7A #7A2269 #7A5F22 #227A33
split-complementary
#223D7A #7A3322 #697A22
monochromatic
#070D1A #15254A #223D7A #2F55AA #4A72CD

Accessibility & contrast

On white

10.41
#223D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D7A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D7A#FFFFFF#000000##FFFFFF
##223D7A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447C
Deuteranopia (green-blind)
#063C79
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223d7a;
/* rgb */ color: rgb(34, 61, 122);
/* oklch */ color: oklch(37.5% 0.109 263.9);
Tailwind
colors: {
  custom: {
    50: '#6972a1',
    500: '#223d7a',
    950: '#000000',
  },
}
SCSS
$custom: #223d7a;
$custom-light: #6972a1;
$custom-dark: #000000;
JSON
{
  "hex": "#223d7a",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 221.591,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37457,
    "c": 0.1091,
    "h": 263.9
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#223D7A
secondary
#AD8F4B
accent
#B148E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #223D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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