#223880#223880

#223880 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.125 H 267.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#223880
RGBrgb(34, 56, 128)
HSLhsl(226, 58%, 32%)
HSVhsv(226, 73%, 50%)
CMYKcmyk(73.4%, 56.3%, 0%, 49.8%)
CIE-LABlab(25.94, 17.96, -43.27)
CIE-LCHlch(25.94, 46.85, 292.54°)
OKLaboklab(36.82% -0.0062 -0.1246)
OKLCHoklch(36.82% 0.125 267.2)
XYZxyz(5.9688, 4.7263, 21.0156)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223880 #806A22
analogous
#226780 #223880 #3B2280
triadic
#223880 #802238 #388022
tetradic
#223880 #802267 #806A22 #22803B
square
#223880 #802267 #806A22 #22803B
split-complementary
#223880 #803B22 #678022
monochromatic
#080E1F #152350 #223880 #2F4DB0 #4D6BD0

Accessibility & contrast

On white

10.79
#223880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223880
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223880#FFFFFF#000000##FFFFFF
##2238801.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223880;
/* rgb */ color: rgb(34, 56, 128);
/* oklch */ color: oklch(36.8% 0.125 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a6ea5',
    500: '#223880',
    950: '#000000',
  },
}
SCSS
$custom: #223880;
$custom-light: #6a6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#223880",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 128
  },
  "hsl": {
    "h": 225.957,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36818,
    "c": 0.12471,
    "h": 267.2
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#223880
secondary
#B29A4B
accent
#BD47E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223880

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

Preview Lab → · Contrast checker → · Palette generator →

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