#223D8B#223D8B

#223D8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.134 H 265.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#223D8B
RGBrgb(34, 61, 139)
HSLhsl(225, 61%, 34%)
HSVhsv(225, 76%, 55%)
CMYKcmyk(75.5%, 56.1%, 0%, 45.5%)
CIE-LABlab(28.22, 18.84, -46.42)
CIE-LCHlch(28.22, 50.10, 292.09°)
OKLaboklab(38.81% -0.0096 -0.1337)
OKLCHoklch(38.81% 0.134 265.9)
XYZxyz(6.9870, 5.5409, 25.1224)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D8B #8B7022
analogous
#22728B #223D8B #3B228B
triadic
#223D8B #8B223D #3D8B22
tetradic
#223D8B #8B2272 #8B7022 #228B3B
square
#223D8B #8B2272 #8B7022 #228B3B
split-complementary
#223D8B #8B3B22 #728B22
monochromatic
#0A1229 #16275A #223D8B #2E53BC #5374D5

Accessibility & contrast

On white

9.96
#223D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#223D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D8B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D8B#FFFFFF#000000##FFFFFF
##223D8B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223d8b;
/* rgb */ color: rgb(34, 61, 139);
/* oklch */ color: oklch(38.8% 0.134 265.9);
Tailwind
colors: {
  custom: {
    50: '#6d72ad',
    500: '#223d8b',
    950: '#000000',
  },
}
SCSS
$custom: #223d8b;
$custom-light: #6d72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#223d8b",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 224.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3881,
    "c": 0.13408,
    "h": 265.9
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#223D8B
secondary
#B89E50
accent
#BB44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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