#223C8D#223C8D

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

Color values

HEX#223C8D
RGBrgb(34, 60, 141)
HSLhsl(225, 61%, 34%)
HSVhsv(225, 76%, 55%)
CMYKcmyk(75.9%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.10, 20.31, -47.86)
CIE-LCHlch(28.10, 51.99, 293.00°)
OKLaboklab(38.77% -0.0087 -0.138)
OKLCHoklch(38.77% 0.138 266.4)
XYZxyz(7.0816, 5.4941, 25.8814)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C8D #8D7322
analogous
#22728D #223C8D #3E228D
triadic
#223C8D #8D223C #3C8D22
tetradic
#223C8D #8D2272 #8D7322 #228D3E
square
#223C8D #8D2272 #8D7322 #228D3E
split-complementary
#223C8D #8D3E22 #728D22
monochromatic
#0A122A #16275C #223C8D #2E51BE #5473D6

Accessibility & contrast

On white

10.00
#223C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223C8D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C8D#FFFFFF#000000##FFFFFF
##223C8D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223c8d;
/* rgb */ color: rgb(34, 60, 141);
/* oklch */ color: oklch(38.8% 0.138 266.4);
Tailwind
colors: {
  custom: {
    50: '#6d71af',
    500: '#223c8d',
    950: '#000000',
  },
}
SCSS
$custom: #223c8d;
$custom-light: #6d71af;
$custom-dark: #000000;
JSON
{
  "hex": "#223c8d",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 225.421,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38766,
    "c": 0.13826,
    "h": 266.4
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#223C8D
secondary
#B9A051
accent
#BD44E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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