#223B9E#223B9E

#223B9E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.163 H 267.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#223B9E
RGBrgb(34, 59, 158)
HSLhsl(228, 65%, 38%)
HSVhsv(228, 78%, 62%)
CMYKcmyk(78.5%, 62.7%, 0%, 38%)
CIE-LABlab(29.25, 27.61, -56.39)
CIE-LCHlch(29.25, 62.78, 296.09°)
OKLaboklab(40.07% -0.0075 -0.163)
OKLCHoklch(40.07% 0.163 267.4)
XYZxyz(8.3931, 5.9357, 33.0445)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B9E #9E8522
analogous
#22799E #223B9E #47229E
triadic
#223B9E #9E223B #3B9E22
tetradic
#223B9E #9E2279 #9E8522 #229E47
square
#223B9E #9E2279 #9E8522 #229E47
split-complementary
#223B9E #9E4722 #799E22
monochromatic
#0C1539 #17286C #223B9E #2D4ED0 #5E78DC

Accessibility & contrast

On white

9.60
#223B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223B9E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B9E#FFFFFF#000000##FFFFFF
##223B9E1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223b9e;
/* rgb */ color: rgb(34, 59, 158);
/* oklch */ color: oklch(40.1% 0.163 267.4);
Tailwind
colors: {
  custom: {
    50: '#7270bc',
    500: '#223b9e',
    950: '#000000',
  },
}
SCSS
$custom: #223b9e;
$custom-light: #7270bc;
$custom-dark: #000000;
JSON
{
  "hex": "#223b9e",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 158
  },
  "hsl": {
    "h": 227.903,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40069,
    "c": 0.16321,
    "h": 267.4
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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