#223147#223147

#223147 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.1% C 0.045 H 257.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#223147
RGBrgb(34, 49, 71)
HSLhsl(216, 35%, 21%)
HSVhsv(216, 52%, 28%)
CMYKcmyk(52.1%, 31%, 0%, 72.2%)
CIE-LABlab(20.01, 0.93, -15.62)
CIE-LCHlch(20.01, 15.64, 273.42°)
OKLaboklab(31.06% -0.0094 -0.0437)
OKLCHoklch(31.06% 0.045 257.8)
XYZxyz(2.8950, 2.9915, 6.3849)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223147 #473822
analogous
#224347 #223147 #252247
triadic
#223147 #472231 #314722
tetradic
#223147 #472243 #473822 #224725
square
#223147 #472243 #473822 #224725
split-complementary
#223147 #472522 #434722
monochromatic
#0A0E15 #0E141E #223147 #364E70 #4A6A9A

Accessibility & contrast

On white

13.14
#223147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#223147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223147
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223147#FFFFFF#000000##FFFFFF
##2231471.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293248
Deuteranopia (green-blind)
#242F47
Tritanopia (blue-blind)
#133639
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #223147;
/* rgb */ color: rgb(34, 49, 71);
/* oklch */ color: oklch(31.1% 0.045 257.8);
Tailwind
colors: {
  custom: {
    50: '#5f687a',
    500: '#223147',
    950: '#000000',
  },
}
SCSS
$custom: #223147;
$custom-light: #5f687a;
$custom-dark: #000000;
JSON
{
  "hex": "#223147",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 215.676,
    "s": 35.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31057,
    "c": 0.04467,
    "h": 257.8
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#223147
secondary
#7B674A
accent
#9E5DCB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#050609
muted
#797A7B

Preview Lab

Preview with #223147

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

Preview Lab → · Contrast checker → · Palette generator →

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