#223496#223496

#223496 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.161 H 269.0°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#223496
RGBrgb(34, 52, 150)
HSLhsl(231, 63%, 36%)
HSVhsv(231, 77%, 59%)
CMYKcmyk(77.3%, 65.3%, 0%, 41.2%)
CIE-LABlab(26.73, 29.24, -55.64)
CIE-LCHlch(26.73, 62.85, 297.73°)
OKLaboklab(37.99% -0.0029 -0.1609)
OKLCHoklch(37.99% 0.161 269)
XYZxyz(7.3908, 4.9973, 29.4233)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223496 #968422
analogous
#226E96 #223496 #4A2296
triadic
#223496 #962234 #349622
tetradic
#223496 #96226E #968422 #22964A
square
#223496 #96226E #968422 #22964A
split-complementary
#223496 #964A22 #6E9622
monochromatic
#0B1132 #172364 #223496 #2D45C8 #596DD9

Accessibility & contrast

On white

10.50
#223496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223496
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223496#FFFFFF#000000##FFFFFF
##2234961.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223496;
/* rgb */ color: rgb(34, 52, 150);
/* oklch */ color: oklch(38.0% 0.161 269.0);
Tailwind
colors: {
  custom: {
    50: '#706bb6',
    500: '#223496',
    950: '#000000',
  },
}
SCSS
$custom: #223496;
$custom-light: #706bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#223496",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 230.69,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37986,
    "c": 0.16094,
    "h": 269
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223496

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

Preview Lab → · Contrast checker → · Palette generator →

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