#223596#223596

#223596 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.160 H 268.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#223596
RGBrgb(34, 53, 150)
HSLhsl(230, 63%, 36%)
HSVhsv(230, 77%, 59%)
CMYKcmyk(77.3%, 64.7%, 0%, 41.2%)
CIE-LABlab(26.98, 28.58, -55.22)
CIE-LCHlch(26.98, 62.17, 297.36°)
OKLaboklab(38.17% -0.0035 -0.1597)
OKLCHoklch(38.17% 0.16 268.7)
XYZxyz(7.4359, 5.0875, 29.4383)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223596 #968322
analogous
#226F96 #223596 #492296
triadic
#223596 #962235 #359622
tetradic
#223596 #96226F #968322 #229649
square
#223596 #96226F #968322 #229649
split-complementary
#223596 #964922 #6F9622
monochromatic
#0B1232 #172364 #223596 #2D47C8 #596ED9

Accessibility & contrast

On white

10.41
#223596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223596
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223596#FFFFFF#000000##FFFFFF
##2235961.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223596;
/* rgb */ color: rgb(34, 53, 150);
/* oklch */ color: oklch(38.2% 0.160 268.7);
Tailwind
colors: {
  custom: {
    50: '#706cb6',
    500: '#223596',
    950: '#000000',
  },
}
SCSS
$custom: #223596;
$custom-light: #706cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#223596",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 230.172,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38174,
    "c": 0.15971,
    "h": 268.7
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#223596
secondary
#BEAD56
accent
#CB42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223596

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

Preview Lab → · Contrast checker → · Palette generator →

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