#223C91#223C91

#223C91 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.144 H 266.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#223C91
RGBrgb(34, 60, 145)
HSLhsl(226, 62%, 35%)
HSVhsv(226, 77%, 57%)
CMYKcmyk(76.6%, 58.6%, 0%, 43.1%)
CIE-LABlab(28.42, 21.89, -49.80)
CIE-LCHlch(28.42, 54.40, 293.72°)
OKLaboklab(39.11% -0.0085 -0.1437)
OKLCHoklch(39.11% 0.144 266.6)
XYZxyz(7.3846, 5.6153, 27.4773)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C91 #917722
analogous
#227391 #223C91 #402291
triadic
#223C91 #91223C #3C9122
tetradic
#223C91 #912273 #917722 #229140
square
#223C91 #912273 #917722 #229140
split-complementary
#223C91 #914022 #739122
monochromatic
#0B132E #16275F #223C91 #2E51C3 #5674D7

Accessibility & contrast

On white

9.89
#223C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#223C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C91
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C91#FFFFFF#000000##FFFFFF
##223C911.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223c91;
/* rgb */ color: rgb(34, 60, 145);
/* oklch */ color: oklch(39.1% 0.144 266.6);
Tailwind
colors: {
  custom: {
    50: '#6e71b2',
    500: '#223c91',
    950: '#000000',
  },
}
SCSS
$custom: #223c91;
$custom-light: #6e71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#223c91",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 225.946,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39109,
    "c": 0.14394,
    "h": 266.6
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#223C91
secondary
#BBA353
accent
#BF43E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223C91

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

Preview Lab → · Contrast checker → · Palette generator →

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