#223876#223876

#223876 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.110 H 266.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#223876
RGBrgb(34, 56, 118)
HSLhsl(224, 55%, 30%)
HSVhsv(224, 71%, 46%)
CMYKcmyk(71.2%, 52.5%, 0%, 53.7%)
CIE-LABlab(25.19, 14.01, -38.18)
CIE-LCHlch(25.19, 40.67, 290.15°)
OKLaboklab(36.01% -0.0071 -0.1096)
OKLCHoklch(36.01% 0.11 266.3)
XYZxyz(5.3427, 4.4759, 17.7184)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223876 #766022
analogous
#226276 #223876 #362276
triadic
#223876 #762238 #387622
tetradic
#223876 #762262 #766022 #227636
square
#223876 #762262 #766022 #227636
split-complementary
#223876 #763622 #627622
monochromatic
#070B18 #142146 #223876 #304FA6 #486ACA

Accessibility & contrast

On white

11.08
#223876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#223876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223876
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223876#FFFFFF#000000##FFFFFF
##2238761.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223876;
/* rgb */ color: rgb(34, 56, 118);
/* oklch */ color: oklch(36.0% 0.110 266.3);
Tailwind
colors: {
  custom: {
    50: '#686e9e',
    500: '#223876',
    950: '#000000',
  },
}
SCSS
$custom: #223876;
$custom-light: #686e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#223876",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 224.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36007,
    "c": 0.10981,
    "h": 266.3
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#223876
secondary
#A9904B
accent
#B749DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223876

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

Preview Lab → · Contrast checker → · Palette generator →

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