#223D8A#223D8A

#223D8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.133 H 265.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#223D8A
RGBrgb(34, 61, 138)
HSLhsl(224, 60%, 34%)
HSVhsv(224, 75%, 54%)
CMYKcmyk(75.4%, 55.8%, 0%, 45.9%)
CIE-LABlab(28.15, 18.44, -45.93)
CIE-LCHlch(28.15, 49.49, 291.88°)
OKLaboklab(38.73% -0.0097 -0.1323)
OKLCHoklch(38.73% 0.133 265.8)
XYZxyz(6.9143, 5.5118, 24.7393)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D8A #8A6F22
analogous
#22718A #223D8A #3B228A
triadic
#223D8A #8A223D #3D8A22
tetradic
#223D8A #8A2271 #8A6F22 #228A3B
square
#223D8A #8A2271 #8A6F22 #228A3B
split-complementary
#223D8A #8A3B22 #718A22
monochromatic
#0A1228 #162759 #223D8A #2E53BB #5274D4

Accessibility & contrast

On white

9.99
#223D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#223D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D8A
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D8A#FFFFFF#000000##FFFFFF
##223D8A1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223d8a;
/* rgb */ color: rgb(34, 61, 138);
/* oklch */ color: oklch(38.7% 0.133 265.8);
Tailwind
colors: {
  custom: {
    50: '#6d72ad',
    500: '#223d8a',
    950: '#000000',
  },
}
SCSS
$custom: #223d8a;
$custom-light: #6d72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#223d8a",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 224.423,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38727,
    "c": 0.13264,
    "h": 265.8
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#223D8A
secondary
#B89D50
accent
#BA44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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