#223396#223396

#223396 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.162 H 269.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#223396
RGBrgb(34, 51, 150)
HSLhsl(231, 63%, 36%)
HSVhsv(231, 77%, 59%)
CMYKcmyk(77.3%, 66%, 0%, 41.2%)
CIE-LABlab(26.47, 29.91, -56.05)
CIE-LCHlch(26.47, 63.53, 298.09°)
OKLaboklab(37.8% -0.0023 -0.1621)
OKLCHoklch(37.8% 0.162 269.2)
XYZxyz(7.3466, 4.9089, 29.4086)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223396 #968522
analogous
#226D96 #223396 #4B2296
triadic
#223396 #962233 #339622
tetradic
#223396 #96226D #968522 #22964B
square
#223396 #96226D #968522 #22964B
split-complementary
#223396 #964B22 #6D9622
monochromatic
#0B1132 #172264 #223396 #2D44C8 #596CD9

Accessibility & contrast

On white

10.60
#223396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#223396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223396
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223396#FFFFFF#000000##FFFFFF
##2233961.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223396;
/* rgb */ color: rgb(34, 51, 150);
/* oklch */ color: oklch(37.8% 0.162 269.2);
Tailwind
colors: {
  custom: {
    50: '#706ab6',
    500: '#223396',
    950: '#000000',
  },
}
SCSS
$custom: #223396;
$custom-light: #706ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#223396",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 231.207,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.378,
    "c": 0.16215,
    "h": 269.2
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#223396
secondary
#BEAE56
accent
#CE42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223396

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

Preview Lab → · Contrast checker → · Palette generator →

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