#223879#223879

#223879 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.114 H 266.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#223879
RGBrgb(34, 56, 121)
HSLhsl(225, 56%, 30%)
HSVhsv(225, 72%, 47%)
CMYKcmyk(71.9%, 53.7%, 0%, 52.5%)
CIE-LABlab(25.41, 15.19, -39.72)
CIE-LCHlch(25.41, 42.53, 290.93°)
OKLaboklab(36.25% -0.0068 -0.1141)
OKLCHoklch(36.25% 0.114 266.6)
XYZxyz(5.5239, 4.5484, 18.6723)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223879 #796322
analogous
#226379 #223879 #382279
triadic
#223879 #792238 #387922
tetradic
#223879 #792263 #796322 #227938
square
#223879 #792263 #796322 #227938
split-complementary
#223879 #793822 #637922
monochromatic
#070C19 #152249 #223879 #2F4EA9 #496ACC

Accessibility & contrast

On white

11.00
#223879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#223879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223879
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223879#FFFFFF#000000##FFFFFF
##2238791.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223879;
/* rgb */ color: rgb(34, 56, 121);
/* oklch */ color: oklch(36.2% 0.114 266.6);
Tailwind
colors: {
  custom: {
    50: '#696ea0',
    500: '#223879',
    950: '#000000',
  },
}
SCSS
$custom: #223879;
$custom-light: #696ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#223879",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 224.828,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36246,
    "c": 0.11432,
    "h": 266.6
  },
  "luminance": 0.04549
}

Semantic roles & 50–950 ramp

primary
#223879
secondary
#AC934B
accent
#B948DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #223879

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

Preview Lab → · Contrast checker → · Palette generator →

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