#223256#223256

#223256 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.068 H 264.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#223256
RGBrgb(34, 50, 86)
HSLhsl(222, 43%, 24%)
HSVhsv(222, 60%, 34%)
CMYKcmyk(60.5%, 41.9%, 0%, 66.3%)
CIE-LABlab(21.18, 5.76, -23.83)
CIE-LCHlch(21.18, 24.52, 283.58°)
OKLaboklab(32.24% -0.0062 -0.0675)
OKLCHoklch(32.24% 0.068 264.8)
XYZxyz(3.4794, 3.2929, 9.2545)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223256 #564622
analogous
#224C56 #223256 #2C2256
triadic
#223256 #562232 #325622
tetradic
#223256 #56224C #564622 #22562C
square
#223256 #56224C #564622 #22562C
split-complementary
#223256 #562C22 #4C5622
monochromatic
#090D16 #11182A #223256 #334B82 #4565AE

Accessibility & contrast

On white

12.66
#223256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#223256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223256
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223256#FFFFFF#000000##FFFFFF
##2232561.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233557
Deuteranopia (green-blind)
#1D3155
Tritanopia (blue-blind)
#033A3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #223256;
/* rgb */ color: rgb(34, 50, 86);
/* oklch */ color: oklch(32.2% 0.068 264.8);
Tailwind
colors: {
  custom: {
    50: '#626986',
    500: '#223256',
    950: '#000000',
  },
}
SCSS
$custom: #223256;
$custom-light: #626986;
$custom-dark: #000000;
JSON
{
  "hex": "#223256",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 221.538,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32244,
    "c": 0.06781,
    "h": 264.8
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#223256
secondary
#8A764A
accent
#AC55D3
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #223256

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

Preview Lab → · Contrast checker → · Palette generator →

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