#223979#223979

#223979 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.113 H 266.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#223979
RGBrgb(34, 57, 121)
HSLhsl(224, 56%, 30%)
HSVhsv(224, 72%, 47%)
CMYKcmyk(71.9%, 52.9%, 0%, 52.5%)
CIE-LABlab(25.70, 14.49, -39.25)
CIE-LCHlch(25.70, 41.84, 290.27°)
OKLaboklab(36.47% -0.0078 -0.1127)
OKLCHoklch(36.47% 0.113 266.1)
XYZxyz(5.5728, 4.6463, 18.6886)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223979 #796222
analogous
#226479 #223979 #362279
triadic
#223979 #792239 #397922
tetradic
#223979 #792264 #796222 #227936
square
#223979 #792264 #796222 #227936
split-complementary
#223979 #793622 #647922
monochromatic
#070C19 #152249 #223979 #2F50A9 #496CCC

Accessibility & contrast

On white

10.88
#223979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#223979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223979
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223979#FFFFFF#000000##FFFFFF
##2239791.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223979;
/* rgb */ color: rgb(34, 57, 121);
/* oklch */ color: oklch(36.5% 0.113 266.1);
Tailwind
colors: {
  custom: {
    50: '#696ea0',
    500: '#223979',
    950: '#000000',
  },
}
SCSS
$custom: #223979;
$custom-light: #696ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#223979",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 224.138,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3647,
    "c": 0.11298,
    "h": 266.1
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#223979
secondary
#AC924B
accent
#B748DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #223979

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

Preview Lab → · Contrast checker → · Palette generator →

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