#223379#223379

#223379 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.121 H 269.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#223379
RGBrgb(34, 51, 121)
HSLhsl(228, 56%, 30%)
HSVhsv(228, 72%, 47%)
CMYKcmyk(71.9%, 57.9%, 0%, 52.5%)
CIE-LABlab(23.96, 18.71, -42.07)
CIE-LCHlch(23.96, 46.04, 293.97°)
OKLaboklab(35.15% -0.0021 -0.1211)
OKLCHoklch(35.15% 0.121 269)
XYZxyz(5.2935, 4.0877, 18.5955)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223379 #796822
analogous
#225E79 #223379 #3C2279
triadic
#223379 #792233 #337922
tetradic
#223379 #79225E #796822 #22793C
square
#223379 #79225E #796822 #22793C
split-complementary
#223379 #793C22 #5E7922
monochromatic
#070B19 #151F49 #223379 #2F47A9 #4963CC

Accessibility & contrast

On white

11.55
#223379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#223379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223379
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223379#FFFFFF#000000##FFFFFF
##2233791.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #223379;
/* rgb */ color: rgb(34, 51, 121);
/* oklch */ color: oklch(35.2% 0.121 269.0);
Tailwind
colors: {
  custom: {
    50: '#696aa0',
    500: '#223379',
    950: '#000000',
  },
}
SCSS
$custom: #223379;
$custom-light: #696aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#223379",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 228.276,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35153,
    "c": 0.12112,
    "h": 269
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#223379
secondary
#AC994B
accent
#C248DF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #223379

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

Preview Lab → · Contrast checker → · Palette generator →

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