#223D8D#223D8D

#223D8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.137 H 266.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#223D8D
RGBrgb(34, 61, 141)
HSLhsl(225, 61%, 34%)
HSVhsv(225, 76%, 55%)
CMYKcmyk(75.9%, 56.7%, 0%, 44.7%)
CIE-LABlab(28.38, 19.63, -47.40)
CIE-LCHlch(28.38, 51.30, 292.49°)
OKLaboklab(38.98% -0.0095 -0.1366)
OKLCHoklch(38.98% 0.137 266)
XYZxyz(7.1345, 5.5999, 25.8990)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D8D #8D7222
analogous
#22738D #223D8D #3D228D
triadic
#223D8D #8D223D #3D8D22
tetradic
#223D8D #8D2273 #8D7222 #228D3D
square
#223D8D #8D2273 #8D7222 #228D3D
split-complementary
#223D8D #8D3D22 #738D22
monochromatic
#0A122A #16285C #223D8D #2E52BE #5475D6

Accessibility & contrast

On white

9.90
#223D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#223D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D8D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D8D#FFFFFF#000000##FFFFFF
##223D8D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223d8d;
/* rgb */ color: rgb(34, 61, 141);
/* oklch */ color: oklch(39.0% 0.137 266.0);
Tailwind
colors: {
  custom: {
    50: '#6d72af',
    500: '#223d8d',
    950: '#000000',
  },
}
SCSS
$custom: #223d8d;
$custom-light: #6d72af;
$custom-dark: #000000;
JSON
{
  "hex": "#223d8d",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 224.86,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.13696,
    "h": 266
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#223D8D
secondary
#B99F51
accent
#BC44E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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