#223399#223399

#223399 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.166 H 269.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#223399
RGBrgb(34, 51, 153)
HSLhsl(231, 64%, 37%)
HSVhsv(231, 78%, 60%)
CMYKcmyk(77.8%, 66.7%, 0%, 40%)
CIE-LABlab(26.75, 31.04, -57.43)
CIE-LCHlch(26.75, 65.28, 298.39°)
OKLaboklab(38.09% -0.0024 -0.1662)
OKLCHoklch(38.09% 0.166 269.2)
XYZxyz(7.5913, 5.0068, 30.6971)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223399 #998822
analogous
#226F99 #223399 #4D2299
triadic
#223399 #992233 #339922
tetradic
#223399 #99226F #998822 #22994D
square
#223399 #99226F #998822 #22994D
split-complementary
#223399 #994D22 #6F9922
monochromatic
#0C1235 #172267 #223399 #2D44CB #5B6DDB

Accessibility & contrast

On white

10.49
#223399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223399
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223399#FFFFFF#000000##FFFFFF
##2233991.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223399;
/* rgb */ color: rgb(34, 51, 153);
/* oklch */ color: oklch(38.1% 0.166 269.2);
Tailwind
colors: {
  custom: {
    50: '#716ab8',
    500: '#223399',
    950: '#000000',
  },
}
SCSS
$custom: #223399;
$custom-light: #716ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#223399",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 231.429,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38091,
    "c": 0.16618,
    "h": 269.2
  },
  "luminance": 0.05008
}

Semantic roles & 50–950 ramp

primary
#223399
secondary
#BFB058
accent
#CF41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223399

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

Preview Lab → · Contrast checker → · Palette generator →

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