#223A96#223A96

#223A96 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.153 H 267.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#223A96
RGBrgb(34, 58, 150)
HSLhsl(228, 63%, 36%)
HSVhsv(228, 77%, 59%)
CMYKcmyk(77.3%, 61.3%, 0%, 41.2%)
CIE-LABlab(28.29, 25.20, -53.07)
CIE-LCHlch(28.29, 58.75, 295.40°)
OKLaboklab(39.14% -0.0069 -0.1533)
OKLCHoklch(39.14% 0.153 267.4)
XYZxyz(7.6758, 5.5674, 29.5183)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A96 #967E22
analogous
#227496 #223A96 #442296
triadic
#223A96 #96223A #3A9622
tetradic
#223A96 #962274 #967E22 #229644
square
#223A96 #962274 #967E22 #229644
split-complementary
#223A96 #964422 #749622
monochromatic
#0B1332 #172764 #223A96 #2D4DC8 #5974D9

Accessibility & contrast

On white

9.94
#223A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#223A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A96
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A96#FFFFFF#000000##FFFFFF
##223A961.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223a96;
/* rgb */ color: rgb(34, 58, 150);
/* oklch */ color: oklch(39.1% 0.153 267.4);
Tailwind
colors: {
  custom: {
    50: '#706fb6',
    500: '#223a96',
    950: '#000000',
  },
}
SCSS
$custom: #223a96;
$custom-light: #706fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#223a96",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 227.586,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39144,
    "c": 0.15348,
    "h": 267.4
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#223A96
secondary
#BEA856
accent
#C442E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223A96

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

Preview Lab → · Contrast checker → · Palette generator →

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