#223C8F#223C8F

#223C8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.141 H 266.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#223C8F
RGBrgb(34, 60, 143)
HSLhsl(226, 62%, 35%)
HSVhsv(226, 76%, 56%)
CMYKcmyk(76.2%, 58%, 0%, 43.9%)
CIE-LABlab(28.26, 21.10, -48.83)
CIE-LCHlch(28.26, 53.20, 293.37°)
OKLaboklab(38.94% -0.0085 -0.1408)
OKLCHoklch(38.94% 0.141 266.5)
XYZxyz(7.2317, 5.5542, 26.6722)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C8F #8F7522
analogous
#22738F #223C8F #3F228F
triadic
#223C8F #8F223C #3C8F22
tetradic
#223C8F #8F2273 #8F7522 #228F3F
square
#223C8F #8F2273 #8F7522 #228F3F
split-complementary
#223C8F #8F3F22 #738F22
monochromatic
#0A132C #16275E #223C8F #2E51C0 #5574D7

Accessibility & contrast

On white

9.95
#223C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223C8F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C8F#FFFFFF#000000##FFFFFF
##223C8F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223c8f;
/* rgb */ color: rgb(34, 60, 143);
/* oklch */ color: oklch(38.9% 0.141 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e71b0',
    500: '#223c8f',
    950: '#000000',
  },
}
SCSS
$custom: #223c8f;
$custom-light: #6e71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#223c8f",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 225.688,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.14111,
    "h": 266.5
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#223C8F
secondary
#BAA252
accent
#BE43E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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