#223151#223151

#223151 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.061 H 264.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#223151
RGBrgb(34, 49, 81)
HSLhsl(221, 41%, 23%)
HSVhsv(221, 58%, 32%)
CMYKcmyk(58%, 39.5%, 0%, 68.2%)
CIE-LABlab(20.56, 4.58, -21.48)
CIE-LCHlch(20.56, 21.97, 282.04°)
OKLaboklab(31.67% -0.0062 -0.0607)
OKLCHoklch(31.67% 0.061 264.2)
XYZxyz(3.2427, 3.1306, 8.2164)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223151 #514222
analogous
#224951 #223151 #2A2251
triadic
#223151 #512231 #315122
tetradic
#223151 #512249 #514222 #22512A
square
#223151 #512249 #514222 #22512A
split-complementary
#223151 #512A22 #495122
monochromatic
#090D16 #101726 #223151 #344B7C #4665A7

Accessibility & contrast

On white

12.91
#223151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#223151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223151
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223151#FFFFFF#000000##FFFFFF
##2231511.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243452
Deuteranopia (green-blind)
#1F3050
Tritanopia (blue-blind)
#0A383D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #223151;
/* rgb */ color: rgb(34, 49, 81);
/* oklch */ color: oklch(31.7% 0.061 264.2);
Tailwind
colors: {
  custom: {
    50: '#616882',
    500: '#223151',
    950: '#000000',
  },
}
SCSS
$custom: #223151;
$custom-light: #616882;
$custom-dark: #000000;
JSON
{
  "hex": "#223151",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 220.851,
    "s": 40.87,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31666,
    "c": 0.06099,
    "h": 264.2
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#223151
secondary
#85724A
accent
#AA57D1
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #223151

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

Preview Lab → · Contrast checker → · Palette generator →

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