#223176#223176

#223176 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.5% C 0.119 H 269.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#223176
RGBrgb(34, 49, 118)
HSLhsl(229, 55%, 30%)
HSVhsv(229, 71%, 46%)
CMYKcmyk(71.2%, 58.5%, 0%, 53.7%)
CIE-LABlab(23.15, 18.93, -41.47)
CIE-LCHlch(23.15, 45.59, 294.54°)
OKLaboklab(34.47% -0.0005 -0.1194)
OKLCHoklch(34.47% 0.119 269.8)
XYZxyz(5.0269, 3.8442, 17.6131)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223176 #766722
analogous
#225B76 #223176 #3D2276
triadic
#223176 #762231 #317622
tetradic
#223176 #76225B #766722 #22763D
square
#223176 #76225B #766722 #22763D
split-complementary
#223176 #763D22 #5B7622
monochromatic
#070A18 #141D46 #223176 #3045A6 #485FCA

Accessibility & contrast

On white

11.87
#223176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#223176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223176
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223176#FFFFFF#000000##FFFFFF
##2231761.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #223176;
/* rgb */ color: rgb(34, 49, 118);
/* oklch */ color: oklch(34.5% 0.119 269.8);
Tailwind
colors: {
  custom: {
    50: '#69689e',
    500: '#223176',
    950: '#000000',
  },
}
SCSS
$custom: #223176;
$custom-light: #69689e;
$custom-dark: #000000;
JSON
{
  "hex": "#223176",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 229.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3447,
    "c": 0.11938,
    "h": 269.8
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#223176
secondary
#A9984B
accent
#C449DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223176

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

Preview Lab → · Contrast checker → · Palette generator →

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