#223167#223167

#223167 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.096 H 269.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#223167
RGBrgb(34, 49, 103)
HSLhsl(227, 50%, 27%)
HSVhsv(227, 67%, 40%)
CMYKcmyk(67%, 52.4%, 0%, 59.6%)
CIE-LABlab(22.00, 13.05, -33.68)
CIE-LCHlch(22.00, 36.12, 291.18°)
OKLaboklab(33.24% -0.0017 -0.0965)
OKLCHoklch(33.24% 0.096 269)
XYZxyz(4.2054, 3.5156, 13.2863)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223167 #675822
analogous
#225467 #223167 #362267
triadic
#223167 #672231 #316722
tetradic
#223167 #672254 #675822 #226736
square
#223167 #672254 #675822 #226736
split-complementary
#223167 #673622 #546722
monochromatic
#080B17 #131B39 #223167 #314795 #435EC1

Accessibility & contrast

On white

12.33
#223167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#223167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223167
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223167#FFFFFF#000000##FFFFFF
##2231671.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143869
Deuteranopia (green-blind)
#053266
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #223167;
/* rgb */ color: rgb(34, 49, 103);
/* oklch */ color: oklch(33.2% 0.096 269.0);
Tailwind
colors: {
  custom: {
    50: '#656893',
    500: '#223167',
    950: '#000000',
  },
}
SCSS
$custom: #223167;
$custom-light: #656893;
$custom-dark: #000000;
JSON
{
  "hex": "#223167",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 226.957,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33238,
    "c": 0.09648,
    "h": 269
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#223167
secondary
#9B894A
accent
#BB4EDA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #223167

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

Preview Lab → · Contrast checker → · Palette generator →

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