#223B9C#223B9C

#223B9C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.160 H 267.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#223B9C
RGBrgb(34, 59, 156)
HSLhsl(228, 64%, 37%)
HSVhsv(228, 78%, 61%)
CMYKcmyk(78.2%, 62.2%, 0%, 38.8%)
CIE-LABlab(29.08, 26.84, -55.46)
CIE-LCHlch(29.08, 61.61, 295.83°)
OKLaboklab(39.89% -0.0075 -0.1603)
OKLCHoklch(39.89% 0.16 267.3)
XYZxyz(8.2223, 5.8674, 32.1452)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B9C #9C8322
analogous
#22789C #223B9C #46229C
triadic
#223B9C #9C223B #3B9C22
tetradic
#223B9C #9C2278 #9C8322 #229C46
square
#223B9C #9C2278 #9C8322 #229C46
split-complementary
#223B9C #9C4622 #789C22
monochromatic
#0C1538 #17286A #223B9C #2D4ECE #5D77DC

Accessibility & contrast

On white

9.66
#223B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#223B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B9C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B9C#FFFFFF#000000##FFFFFF
##223B9C1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223b9c;
/* rgb */ color: rgb(34, 59, 156);
/* oklch */ color: oklch(39.9% 0.160 267.3);
Tailwind
colors: {
  custom: {
    50: '#7170ba',
    500: '#223b9c',
    950: '#000000',
  },
}
SCSS
$custom: #223b9c;
$custom-light: #7170ba;
$custom-dark: #000000;
JSON
{
  "hex": "#223b9c",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 156
  },
  "hsl": {
    "h": 227.705,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39886,
    "c": 0.16049,
    "h": 267.3
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#223B9C
secondary
#C0AB5A
accent
#C541E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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