#223393#223393

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

Color values

HEX#223393
RGBrgb(34, 51, 147)
HSLhsl(231, 62%, 35%)
HSVhsv(231, 77%, 58%)
CMYKcmyk(76.9%, 65.3%, 0%, 42.4%)
CIE-LABlab(26.20, 28.78, -54.66)
CIE-LCHlch(26.20, 61.77, 297.76°)
OKLaboklab(37.51% -0.0021 -0.1581)
OKLCHoklch(37.51% 0.158 269.2)
XYZxyz(7.1082, 4.8135, 28.1526)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223393 #938222
analogous
#226C93 #223393 #492293
triadic
#223393 #932233 #339322
tetradic
#223393 #93226C #938222 #229349
square
#223393 #93226C #938222 #229349
split-complementary
#223393 #934922 #6C9322
monochromatic
#0B1130 #172261 #223393 #2D44C5 #576BD8

Accessibility & contrast

On white

10.70
#223393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#223393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223393
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223393#FFFFFF#000000##FFFFFF
##2233931.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223393;
/* rgb */ color: rgb(34, 51, 147);
/* oklch */ color: oklch(37.5% 0.158 269.2);
Tailwind
colors: {
  custom: {
    50: '#706ab4',
    500: '#223393',
    950: '#000000',
  },
}
SCSS
$custom: #223393;
$custom-light: #706ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#223393",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 230.973,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.15807,
    "h": 269.2
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#223393
secondary
#BCAD55
accent
#CD42E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223393

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

Preview Lab → · Contrast checker → · Palette generator →

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