#223F91#223F91

#223F91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.140 H 265.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#223F91
RGBrgb(34, 63, 145)
HSLhsl(224, 62%, 35%)
HSVhsv(224, 77%, 57%)
CMYKcmyk(76.6%, 56.6%, 0%, 43.1%)
CIE-LABlab(29.26, 19.83, -48.44)
CIE-LCHlch(29.26, 52.34, 292.26°)
OKLaboklab(39.74% -0.0108 -0.1396)
OKLCHoklch(39.74% 0.14 265.6)
XYZxyz(7.5462, 5.9386, 27.5311)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F91 #917422
analogous
#227791 #223F91 #3C2291
triadic
#223F91 #91223F #3F9122
tetradic
#223F91 #912277 #917422 #22913C
square
#223F91 #912277 #917422 #22913C
split-complementary
#223F91 #913C22 #779122
monochromatic
#0B142E #16295F #223F91 #2E55C3 #5678D7

Accessibility & contrast

On white

9.60
#223F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#223F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F91
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F91#FFFFFF#000000##FFFFFF
##223F911.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223f91;
/* rgb */ color: rgb(34, 63, 145);
/* oklch */ color: oklch(39.7% 0.140 265.6);
Tailwind
colors: {
  custom: {
    50: '#6e73b2',
    500: '#223f91',
    950: '#000000',
  },
}
SCSS
$custom: #223f91;
$custom-light: #6e73b2;
$custom-dark: #000000;
JSON
{
  "hex": "#223f91",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 224.324,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39738,
    "c": 0.14006,
    "h": 265.6
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#223F91
secondary
#BBA053
accent
#BB43E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #223F91

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

Preview Lab → · Contrast checker → · Palette generator →

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