#223392#223392

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

Color values

HEX#223392
RGBrgb(34, 51, 146)
HSLhsl(231, 62%, 35%)
HSVhsv(231, 77%, 57%)
CMYKcmyk(76.7%, 65.1%, 0%, 42.7%)
CIE-LABlab(26.11, 28.39, -54.19)
CIE-LCHlch(26.11, 61.18, 297.65°)
OKLaboklab(37.42% -0.0021 -0.1567)
OKLCHoklch(37.42% 0.157 269.2)
XYZxyz(7.0300, 4.7823, 27.7411)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223392 #928122
analogous
#226B92 #223392 #492292
triadic
#223392 #922233 #339222
tetradic
#223392 #92226B #928122 #229249
square
#223392 #92226B #928122 #229249
split-complementary
#223392 #924922 #6B9222
monochromatic
#0B102F #162260 #223392 #2E44C4 #576AD8

Accessibility & contrast

On white

10.73
#223392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223392
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223392#FFFFFF#000000##FFFFFF
##2233921.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223392;
/* rgb */ color: rgb(34, 51, 146);
/* oklch */ color: oklch(37.4% 0.157 269.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ab3',
    500: '#223392',
    950: '#000000',
  },
}
SCSS
$custom: #223392;
$custom-light: #6f6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#223392",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 146
  },
  "hsl": {
    "h": 230.893,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.15671,
    "h": 269.2
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#223392
secondary
#BCAC54
accent
#CD43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223392

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

Preview Lab → · Contrast checker → · Palette generator →

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