#223391#223391

#223391 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.155 H 269.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#223391
RGBrgb(34, 51, 145)
HSLhsl(231, 62%, 35%)
HSVhsv(231, 77%, 57%)
CMYKcmyk(76.6%, 64.8%, 0%, 43.1%)
CIE-LABlab(26.01, 28.01, -53.73)
CIE-LCHlch(26.01, 60.59, 297.54°)
OKLaboklab(37.32% -0.002 -0.1553)
OKLCHoklch(37.32% 0.155 269.2)
XYZxyz(6.9526, 4.7513, 27.3333)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223391 #918022
analogous
#226A91 #223391 #492291
triadic
#223391 #912233 #339122
tetradic
#223391 #91226A #918022 #229149
square
#223391 #91226A #918022 #229149
split-complementary
#223391 #914922 #6A9122
monochromatic
#0B102E #16225F #223391 #2E44C3 #566AD7

Accessibility & contrast

On white

10.77
#223391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223391
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223391#FFFFFF#000000##FFFFFF
##2233911.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223391;
/* rgb */ color: rgb(34, 51, 145);
/* oklch */ color: oklch(37.3% 0.155 269.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ab2',
    500: '#223391',
    950: '#000000',
  },
}
SCSS
$custom: #223391;
$custom-light: #6f6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#223391",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 230.811,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37321,
    "c": 0.15534,
    "h": 269.2
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#223391
secondary
#BBAB53
accent
#CC43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #223391

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

Preview Lab → · Contrast checker → · Palette generator →

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