#223696#223696

#223696 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.158 H 268.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#223696
RGBrgb(34, 54, 150)
HSLhsl(230, 63%, 36%)
HSVhsv(230, 77%, 59%)
CMYKcmyk(77.3%, 64%, 0%, 41.2%)
CIE-LABlab(27.24, 27.91, -54.79)
CIE-LCHlch(27.24, 61.49, 296.99°)
OKLaboklab(38.36% -0.0042 -0.1584)
OKLCHoklch(38.36% 0.158 268.5)
XYZxyz(7.4820, 5.1796, 29.4537)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223696 #968222
analogous
#227096 #223696 #482296
triadic
#223696 #962236 #369622
tetradic
#223696 #962270 #968222 #229648
square
#223696 #962270 #968222 #229648
split-complementary
#223696 #964822 #709622
monochromatic
#0B1232 #172464 #223696 #2D48C8 #596FD9

Accessibility & contrast

On white

10.31
#223696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#223696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223696
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223696#FFFFFF#000000##FFFFFF
##2236961.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223696;
/* rgb */ color: rgb(34, 54, 150);
/* oklch */ color: oklch(38.4% 0.158 268.5);
Tailwind
colors: {
  custom: {
    50: '#706cb6',
    500: '#223696',
    950: '#000000',
  },
}
SCSS
$custom: #223696;
$custom-light: #706cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#223696",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 229.655,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38364,
    "c": 0.15849,
    "h": 268.5
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#223696
secondary
#BEAC56
accent
#CA42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223696

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

Preview Lab → · Contrast checker → · Palette generator →

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