#223179#223179

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

Color values

HEX#223179
RGBrgb(34, 49, 121)
HSLhsl(230, 56%, 30%)
HSVhsv(230, 72%, 47%)
CMYKcmyk(71.9%, 59.5%, 0%, 52.5%)
CIE-LABlab(23.39, 20.11, -42.99)
CIE-LCHlch(23.39, 47.46, 295.07°)
OKLaboklab(34.73% -0.0003 -0.1238)
OKLCHoklch(34.73% 0.124 269.8)
XYZxyz(5.2080, 3.9167, 18.5670)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223179 #796A22
analogous
#225C79 #223179 #3E2279
triadic
#223179 #792231 #317922
tetradic
#223179 #79225C #796A22 #22793E
square
#223179 #79225C #796A22 #22793E
split-complementary
#223179 #793E22 #5C7922
monochromatic
#070A19 #151E49 #223179 #2F44A9 #4960CC

Accessibility & contrast

On white

11.78
#223179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223179
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223179#FFFFFF#000000##FFFFFF
##2231791.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223179;
/* rgb */ color: rgb(34, 49, 121);
/* oklch */ color: oklch(34.7% 0.124 269.8);
Tailwind
colors: {
  custom: {
    50: '#6968a0',
    500: '#223179',
    950: '#000000',
  },
}
SCSS
$custom: #223179;
$custom-light: #6968a0;
$custom-dark: #000000;
JSON
{
  "hex": "#223179",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 229.655,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3473,
    "c": 0.12383,
    "h": 269.8
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#223179
secondary
#AC9B4B
accent
#C548DF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #223179

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

Preview Lab → · Contrast checker → · Palette generator →

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