#223A99#223A99

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

Color values

HEX#223A99
RGBrgb(34, 58, 153)
HSLhsl(228, 64%, 37%)
HSVhsv(228, 78%, 60%)
CMYKcmyk(77.8%, 62.1%, 0%, 40%)
CIE-LABlab(28.55, 26.36, -54.49)
CIE-LCHlch(28.55, 60.53, 295.82°)
OKLaboklab(39.42% -0.0069 -0.1575)
OKLCHoklch(39.42% 0.158 267.5)
XYZxyz(7.9205, 5.6652, 30.8069)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A99 #998122
analogous
#227699 #223A99 #462299
triadic
#223A99 #99223A #3A9922
tetradic
#223A99 #992276 #998122 #229946
square
#223A99 #992276 #998122 #229946
split-complementary
#223A99 #994622 #769922
monochromatic
#0C1435 #172767 #223A99 #2D4DCB #5B75DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##223A99#FFFFFF#000000##FFFFFF
##223A991.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)
#00499C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223a99;
/* rgb */ color: rgb(34, 58, 153);
/* oklch */ color: oklch(39.4% 0.158 267.5);
Tailwind
colors: {
  custom: {
    50: '#716fb8',
    500: '#223a99',
    950: '#000000',
  },
}
SCSS
$custom: #223a99;
$custom-light: #716fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#223a99",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 227.899,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.15762,
    "h": 267.5
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#223A99
secondary
#BFAA58
accent
#C541E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223A99

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

Preview Lab → · Contrast checker → · Palette generator →

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