#223191#223191

#223191 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.158 H 269.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#223191
RGBrgb(34, 49, 145)
HSLhsl(232, 62%, 35%)
HSVhsv(232, 77%, 57%)
CMYKcmyk(76.6%, 66.2%, 0%, 43.1%)
CIE-LABlab(25.50, 29.35, -54.56)
CIE-LCHlch(25.50, 61.96, 298.28°)
OKLaboklab(36.95% -0.0007 -0.1578)
OKLCHoklch(36.95% 0.158 269.7)
XYZxyz(6.8671, 4.5803, 27.3047)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223191 #918222
analogous
#226891 #223191 #4B2291
triadic
#223191 #912231 #319122
tetradic
#223191 #912268 #918222 #22914B
square
#223191 #912268 #918222 #22914B
split-complementary
#223191 #914B22 #689122
monochromatic
#0B0F2E #16205F #223191 #2E42C3 #5668D7

Accessibility & contrast

On white

10.96
#223191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#223191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223191
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223191#FFFFFF#000000##FFFFFF
##2231911.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223191;
/* rgb */ color: rgb(34, 49, 145);
/* oklch */ color: oklch(36.9% 0.158 269.7);
Tailwind
colors: {
  custom: {
    50: '#6f69b2',
    500: '#223191',
    950: '#000000',
  },
}
SCSS
$custom: #223191;
$custom-light: #6f69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#223191",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 231.892,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36946,
    "c": 0.15779,
    "h": 269.7
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#223191
secondary
#BBAD53
accent
#CF43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223191

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

Preview Lab → · Contrast checker → · Palette generator →

#223191 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva