#223B9F#223B9F

#223B9F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.165 H 267.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#223B9F
RGBrgb(34, 59, 159)
HSLhsl(228, 65%, 38%)
HSVhsv(228, 79%, 62%)
CMYKcmyk(78.6%, 62.9%, 0%, 37.6%)
CIE-LABlab(29.34, 28.00, -56.85)
CIE-LCHlch(29.34, 63.37, 296.22°)
OKLaboklab(40.16% -0.0075 -0.1644)
OKLCHoklch(40.16% 0.165 267.4)
XYZxyz(8.4795, 5.9703, 33.4996)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B9F #9F8622
analogous
#22799F #223B9F #47229F
triadic
#223B9F #9F223B #3B9F22
tetradic
#223B9F #9F2279 #9F8622 #229F47
square
#223B9F #9F2279 #9F8622 #229F47
split-complementary
#223B9F #9F4722 #799F22
monochromatic
#0C163A #17286D #223B9F #2D4ED1 #5F78DD

Accessibility & contrast

On white

9.57
#223B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#223B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B9F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B9F#FFFFFF#000000##FFFFFF
##223B9F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223b9f;
/* rgb */ color: rgb(34, 59, 159);
/* oklch */ color: oklch(40.2% 0.165 267.4);
Tailwind
colors: {
  custom: {
    50: '#7270bc',
    500: '#223b9f',
    950: '#000000',
  },
}
SCSS
$custom: #223b9f;
$custom-light: #7270bc;
$custom-dark: #000000;
JSON
{
  "hex": "#223b9f",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 159
  },
  "hsl": {
    "h": 228,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.16456,
    "h": 267.4
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#223B9F
secondary
#C1AD5B
accent
#C640E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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