#223A9D#223A9D

#223A9D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.163 H 267.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#223A9D
RGBrgb(34, 58, 157)
HSLhsl(228, 64%, 37%)
HSVhsv(228, 78%, 62%)
CMYKcmyk(78.3%, 63.1%, 0%, 38.4%)
CIE-LABlab(28.90, 27.90, -56.35)
CIE-LCHlch(28.90, 62.88, 296.34°)
OKLaboklab(39.78% -0.0069 -0.1629)
OKLCHoklch(39.78% 0.163 267.6)
XYZxyz(8.2564, 5.7996, 32.5760)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A9D #9D8522
analogous
#22779D #223A9D #48229D
triadic
#223A9D #9D223A #3A9D22
tetradic
#223A9D #9D2277 #9D8522 #229D48
square
#223A9D #9D2277 #9D8522 #229D48
split-complementary
#223A9D #9D4822 #779D22
monochromatic
#0C1538 #17276B #223A9D #2D4DCF #5D76DC

Accessibility & contrast

On white

9.72
#223A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#223A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A9D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A9D#FFFFFF#000000##FFFFFF
##223A9D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223a9d;
/* rgb */ color: rgb(34, 58, 157);
/* oklch */ color: oklch(39.8% 0.163 267.6);
Tailwind
colors: {
  custom: {
    50: '#7270bb',
    500: '#223a9d',
    950: '#000000',
  },
}
SCSS
$custom: #223a9d;
$custom-light: #7270bb;
$custom-dark: #000000;
JSON
{
  "hex": "#223a9d",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 228.293,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39784,
    "c": 0.16309,
    "h": 267.6
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#223A9D
secondary
#C1AD5A
accent
#C740E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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