#223161#223161

#223161 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.087 H 268.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#223161
RGBrgb(34, 49, 97)
HSLhsl(226, 48%, 26%)
HSVhsv(226, 65%, 38%)
CMYKcmyk(64.9%, 49.5%, 0%, 62%)
CIE-LABlab(21.58, 10.70, -30.45)
CIE-LCHlch(21.58, 32.28, 289.37°)
OKLaboklab(32.78% -0.0026 -0.0869)
OKLCHoklch(32.78% 0.087 268.3)
XYZxyz(3.9149, 3.3994, 11.7568)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223161 #615222
analogous
#225061 #223161 #322261
triadic
#223161 #612231 #316122
tetradic
#223161 #612250 #615222 #226132
square
#223161 #612250 #615222 #226132
split-complementary
#223161 #613222 #506122
monochromatic
#080B17 #121A34 #223161 #32488E #425FBC

Accessibility & contrast

On white

12.50
#223161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#223161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223161
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223161#FFFFFF#000000##FFFFFF
##2231611.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3763
Deuteranopia (green-blind)
#103160
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223161;
/* rgb */ color: rgb(34, 49, 97);
/* oklch */ color: oklch(32.8% 0.087 268.3);
Tailwind
colors: {
  custom: {
    50: '#64688e',
    500: '#223161',
    950: '#000000',
  },
}
SCSS
$custom: #223161;
$custom-light: #64688e;
$custom-dark: #000000;
JSON
{
  "hex": "#223161",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 225.714,
    "s": 48.092,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3278,
    "c": 0.08699,
    "h": 268.3
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

primary
#223161
secondary
#95834A
accent
#B750D8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #223161

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

Preview Lab → · Contrast checker → · Palette generator →

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