#223896#223896

#223896 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.156 H 268.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#223896
RGBrgb(34, 56, 150)
HSLhsl(229, 63%, 36%)
HSVhsv(229, 77%, 59%)
CMYKcmyk(77.3%, 62.7%, 0%, 41.2%)
CIE-LABlab(27.76, 26.56, -53.94)
CIE-LCHlch(27.76, 60.12, 296.21°)
OKLaboklab(38.75% -0.0055 -0.1559)
OKLCHoklch(38.75% 0.156 268)
XYZxyz(7.5770, 5.3696, 29.4854)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223896 #968022
analogous
#227296 #223896 #462296
triadic
#223896 #962238 #389622
tetradic
#223896 #962272 #968022 #229646
square
#223896 #962272 #968022 #229646
split-complementary
#223896 #964622 #729622
monochromatic
#0B1332 #172564 #223896 #2D4BC8 #5971D9

Accessibility & contrast

On white

10.13
#223896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#223896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223896
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223896#FFFFFF#000000##FFFFFF
##2238961.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223896;
/* rgb */ color: rgb(34, 56, 150);
/* oklch */ color: oklch(38.8% 0.156 268.0);
Tailwind
colors: {
  custom: {
    50: '#706eb6',
    500: '#223896',
    950: '#000000',
  },
}
SCSS
$custom: #223896;
$custom-light: #706eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#223896",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 228.621,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3875,
    "c": 0.156,
    "h": 268
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#223896
secondary
#BEAA56
accent
#C742E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223896

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

Preview Lab → · Contrast checker → · Palette generator →

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