#223B81#223B81

#223B81 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.6% C 0.122 H 265.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#223B81
RGBrgb(34, 59, 129)
HSLhsl(224, 58%, 32%)
HSVhsv(224, 74%, 51%)
CMYKcmyk(73.6%, 54.3%, 0%, 49.4%)
CIE-LABlab(26.88, 16.27, -42.37)
CIE-LCHlch(26.88, 45.39, 291.00°)
OKLaboklab(37.56% -0.0088 -0.1219)
OKLCHoklch(37.56% 0.122 265.9)
XYZxyz(6.1847, 5.0523, 21.4139)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B81 #816822
analogous
#226A81 #223B81 #392281
triadic
#223B81 #81223B #3B8122
tetradic
#223B81 #81226A #816822 #228139
square
#223B81 #81226A #816822 #228139
split-complementary
#223B81 #813922 #6A8122
monochromatic
#080F20 #152551 #223B81 #2F51B1 #4D70D0

Accessibility & contrast

On white

10.44
#223B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#223B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B81
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B81#FFFFFF#000000##FFFFFF
##223B811.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4483
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223b81;
/* rgb */ color: rgb(34, 59, 129);
/* oklch */ color: oklch(37.6% 0.122 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b70a6',
    500: '#223b81',
    950: '#000000',
  },
}
SCSS
$custom: #223b81;
$custom-light: #6b70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#223b81",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 129
  },
  "hsl": {
    "h": 224.211,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.12217,
    "h": 265.9
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#223B81
secondary
#B3984B
accent
#B946E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223B81

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

Preview Lab → · Contrast checker → · Palette generator →

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