#223581#223581

#223581 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.130 H 268.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#223581
RGBrgb(34, 53, 129)
HSLhsl(228, 58%, 32%)
HSVhsv(228, 74%, 51%)
CMYKcmyk(73.6%, 58.9%, 0%, 49.4%)
CIE-LABlab(25.17, 20.45, -45.15)
CIE-LCHlch(25.17, 49.56, 294.37°)
OKLaboklab(36.27% -0.0035 -0.1301)
OKLCHoklch(36.27% 0.13 268.5)
XYZxyz(5.8939, 4.4707, 21.3169)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223581 #816E22
analogous
#226581 #223581 #3F2281
triadic
#223581 #812235 #358122
tetradic
#223581 #812265 #816E22 #22813F
square
#223581 #812265 #816E22 #22813F
split-complementary
#223581 #813F22 #658122
monochromatic
#080D20 #152151 #223581 #2F49B1 #4D67D0

Accessibility & contrast

On white

11.09
#223581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#223581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223581
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223581#FFFFFF#000000##FFFFFF
##2235811.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223581;
/* rgb */ color: rgb(34, 53, 129);
/* oklch */ color: oklch(36.3% 0.130 268.5);
Tailwind
colors: {
  custom: {
    50: '#6b6ba6',
    500: '#223581',
    950: '#000000',
  },
}
SCSS
$custom: #223581;
$custom-light: #6b6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#223581",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 129
  },
  "hsl": {
    "h": 228,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36265,
    "c": 0.13018,
    "h": 268.5
  },
  "luminance": 0.04471
}

Semantic roles & 50–950 ramp

primary
#223581
secondary
#B39F4B
accent
#C246E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #223581

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

Preview Lab → · Contrast checker → · Palette generator →

#223581 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva