#223E96#223E96

#223E96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.148 H 266.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#223E96
RGBrgb(34, 62, 150)
HSLhsl(226, 63%, 36%)
HSVhsv(226, 77%, 59%)
CMYKcmyk(77.3%, 58.7%, 0%, 41.2%)
CIE-LABlab(29.38, 22.47, -51.31)
CIE-LCHlch(29.38, 56.01, 293.66°)
OKLaboklab(39.95% -0.0097 -0.1481)
OKLCHoklch(39.95% 0.148 266.2)
XYZxyz(7.8854, 5.9865, 29.5882)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E96 #967A22
analogous
#227896 #223E96 #402296
triadic
#223E96 #96223E #3E9622
tetradic
#223E96 #962278 #967A22 #229640
square
#223E96 #962278 #967A22 #229640
split-complementary
#223E96 #964022 #789622
monochromatic
#0B1532 #172964 #223E96 #2D53C8 #5978D9

Accessibility & contrast

On white

9.56
#223E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#223E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E96
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E96#FFFFFF#000000##FFFFFF
##223E961.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223e96;
/* rgb */ color: rgb(34, 62, 150);
/* oklch */ color: oklch(40.0% 0.148 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f72b6',
    500: '#223e96',
    950: '#000000',
  },
}
SCSS
$custom: #223e96;
$custom-light: #6f72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223e96",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 225.517,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39954,
    "c": 0.1484,
    "h": 266.2
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#223E96
secondary
#BEA556
accent
#BE42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #223E96

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

Preview Lab → · Contrast checker → · Palette generator →

#223E96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva