#223178#223178

#223178 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.122 H 269.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#223178
RGBrgb(34, 49, 120)
HSLhsl(230, 56%, 30%)
HSVhsv(230, 72%, 47%)
CMYKcmyk(71.7%, 59.2%, 0%, 52.9%)
CIE-LABlab(23.31, 19.72, -42.48)
CIE-LCHlch(23.31, 46.84, 294.90°)
OKLaboklab(34.64% -0.0004 -0.1223)
OKLCHoklch(34.64% 0.122 269.8)
XYZxyz(5.1470, 3.8923, 18.2457)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223178 #786922
analogous
#225C78 #223178 #3E2278
triadic
#223178 #782231 #317822
tetradic
#223178 #78225C #786922 #22783E
square
#223178 #78225C #786922 #22783E
split-complementary
#223178 #783E22 #5C7822
monochromatic
#070A19 #141E48 #223178 #3044A8 #4960CB

Accessibility & contrast

On white

11.81
#223178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#223178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223178
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223178#FFFFFF#000000##FFFFFF
##2231781.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223178;
/* rgb */ color: rgb(34, 49, 120);
/* oklch */ color: oklch(34.6% 0.122 269.8);
Tailwind
colors: {
  custom: {
    50: '#6968a0',
    500: '#223178',
    950: '#000000',
  },
}
SCSS
$custom: #223178;
$custom-light: #6968a0;
$custom-dark: #000000;
JSON
{
  "hex": "#223178",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 229.535,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34643,
    "c": 0.12235,
    "h": 269.8
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#223178
secondary
#AB9A4B
accent
#C549DF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #223178

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

Preview Lab → · Contrast checker → · Palette generator →

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