#223B96#223B96

#223B96 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.152 H 267.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#223B96
RGBrgb(34, 59, 150)
HSLhsl(227, 63%, 36%)
HSVhsv(227, 77%, 59%)
CMYKcmyk(77.3%, 60.7%, 0%, 41.2%)
CIE-LABlab(28.56, 24.52, -52.64)
CIE-LCHlch(28.56, 58.07, 294.98°)
OKLaboklab(39.34% -0.0076 -0.152)
OKLCHoklch(39.34% 0.152 267.1)
XYZxyz(7.7268, 5.6692, 29.5353)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B96 #967D22
analogous
#227596 #223B96 #432296
triadic
#223B96 #96223B #3B9622
tetradic
#223B96 #962275 #967D22 #229643
square
#223B96 #962275 #967D22 #229643
split-complementary
#223B96 #964322 #759622
monochromatic
#0B1432 #172764 #223B96 #2D4FC8 #5975D9

Accessibility & contrast

On white

9.84
#223B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#223B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B96
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B96#FFFFFF#000000##FFFFFF
##223B961.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223b96;
/* rgb */ color: rgb(34, 59, 150);
/* oklch */ color: oklch(39.3% 0.152 267.1);
Tailwind
colors: {
  custom: {
    50: '#7070b6',
    500: '#223b96',
    950: '#000000',
  },
}
SCSS
$custom: #223b96;
$custom-light: #7070b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223b96",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 227.069,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39344,
    "c": 0.15222,
    "h": 267.1
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#223B96
secondary
#BEA756
accent
#C342E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223B96

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

Preview Lab → · Contrast checker → · Palette generator →

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