#223B87#223B87

#223B87 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.131 H 266.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#223B87
RGBrgb(34, 59, 135)
HSLhsl(225, 60%, 33%)
HSVhsv(225, 75%, 53%)
CMYKcmyk(74.8%, 56.3%, 0%, 47.1%)
CIE-LABlab(27.34, 18.64, -45.37)
CIE-LCHlch(27.34, 49.05, 292.34°)
OKLaboklab(38.05% -0.0082 -0.1307)
OKLCHoklch(38.05% 0.131 266.4)
XYZxyz(6.5953, 5.2166, 23.5763)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B87 #876E22
analogous
#226D87 #223B87 #3C2287
triadic
#223B87 #87223B #3B8722
tetradic
#223B87 #87226D #876E22 #22873C
square
#223B87 #87226D #876E22 #22873C
split-complementary
#223B87 #873C22 #6D8722
monochromatic
#091025 #162656 #223B87 #2E50B8 #5071D3

Accessibility & contrast

On white

10.28
#223B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#223B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B87
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B87#FFFFFF#000000##FFFFFF
##223B871.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223b87;
/* rgb */ color: rgb(34, 59, 135);
/* oklch */ color: oklch(38.0% 0.131 266.4);
Tailwind
colors: {
  custom: {
    50: '#6c70ab',
    500: '#223b87',
    950: '#000000',
  },
}
SCSS
$custom: #223b87;
$custom-light: #6c70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223b87",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 225.149,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38048,
    "c": 0.13094,
    "h": 266.4
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#223B87
secondary
#B79D4E
accent
#BC45E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223B87

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

Preview Lab → · Contrast checker → · Palette generator →

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