#223255#223255

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

Color values

HEX#223255
RGBrgb(34, 50, 85)
HSLhsl(221, 43%, 23%)
HSVhsv(221, 60%, 33%)
CMYKcmyk(60%, 41.2%, 0%, 66.7%)
CIE-LABlab(21.12, 5.38, -23.26)
CIE-LCHlch(21.12, 23.88, 283.02°)
OKLaboklab(32.18% -0.0064 -0.0659)
OKLCHoklch(32.18% 0.066 264.4)
XYZxyz(3.4394, 3.2769, 9.0438)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223255 #554522
analogous
#224B55 #223255 #2B2255
triadic
#223255 #552232 #325522
tetradic
#223255 #55224B #554522 #22552B
square
#223255 #55224B #554522 #22552B
split-complementary
#223255 #552B22 #4B5522
monochromatic
#090D16 #111829 #223255 #334C81 #4565AC

Accessibility & contrast

On white

12.69
#223255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223255
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223255#FFFFFF#000000##FFFFFF
##2232551.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243556
Deuteranopia (green-blind)
#1D3154
Tritanopia (blue-blind)
#053A3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #223255;
/* rgb */ color: rgb(34, 50, 85);
/* oklch */ color: oklch(32.2% 0.066 264.4);
Tailwind
colors: {
  custom: {
    50: '#626985',
    500: '#223255',
    950: '#000000',
  },
}
SCSS
$custom: #223255;
$custom-light: #626985;
$custom-dark: #000000;
JSON
{
  "hex": "#223255",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 221.176,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32178,
    "c": 0.06619,
    "h": 264.4
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#223255
secondary
#89754A
accent
#AB55D3
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #223255

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

Preview Lab → · Contrast checker → · Palette generator →

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