#223D91#223D91

#223D91 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.143 H 266.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#223D91
RGBrgb(34, 61, 145)
HSLhsl(225, 62%, 35%)
HSVhsv(225, 77%, 57%)
CMYKcmyk(76.6%, 57.9%, 0%, 43.1%)
CIE-LABlab(28.70, 21.20, -49.35)
CIE-LCHlch(28.70, 53.71, 293.25°)
OKLaboklab(39.32% -0.0092 -0.1423)
OKLCHoklch(39.32% 0.143 266.3)
XYZxyz(7.4375, 5.7211, 27.4949)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D91 #917622
analogous
#227591 #223D91 #3E2291
triadic
#223D91 #91223D #3D9122
tetradic
#223D91 #912275 #917622 #22913E
square
#223D91 #912275 #917622 #22913E
split-complementary
#223D91 #913E22 #759122
monochromatic
#0B132E #16285F #223D91 #2E52C3 #5675D7

Accessibility & contrast

On white

9.79
#223D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#223D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D91
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D91#FFFFFF#000000##FFFFFF
##223D911.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223d91;
/* rgb */ color: rgb(34, 61, 145);
/* oklch */ color: oklch(39.3% 0.143 266.3);
Tailwind
colors: {
  custom: {
    50: '#6e72b2',
    500: '#223d91',
    950: '#000000',
  },
}
SCSS
$custom: #223d91;
$custom-light: #6e72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#223d91",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 225.405,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39317,
    "c": 0.14265,
    "h": 266.3
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#223D91
secondary
#BBA253
accent
#BE43E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223D91

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

Preview Lab → · Contrast checker → · Palette generator →

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