#223779#223779

#223779 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.116 H 267.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#223779
RGBrgb(34, 55, 121)
HSLhsl(226, 56%, 30%)
HSVhsv(226, 72%, 47%)
CMYKcmyk(71.9%, 54.5%, 0%, 52.5%)
CIE-LABlab(25.11, 15.90, -40.20)
CIE-LCHlch(25.11, 43.23, 291.58°)
OKLaboklab(36.02% -0.0058 -0.1155)
OKLCHoklch(36.02% 0.116 267.1)
XYZxyz(5.4759, 4.4524, 18.6563)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223779 #796422
analogous
#226279 #223779 #382279
triadic
#223779 #792237 #377922
tetradic
#223779 #792262 #796422 #227938
square
#223779 #792262 #796422 #227938
split-complementary
#223779 #793822 #627922
monochromatic
#070C19 #152149 #223779 #2F4DA9 #4969CC

Accessibility & contrast

On white

11.11
#223779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#223779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223779
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223779#FFFFFF#000000##FFFFFF
##2237791.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223779;
/* rgb */ color: rgb(34, 55, 121);
/* oklch */ color: oklch(36.0% 0.116 267.1);
Tailwind
colors: {
  custom: {
    50: '#696da0',
    500: '#223779',
    950: '#000000',
  },
}
SCSS
$custom: #223779;
$custom-light: #696da0;
$custom-dark: #000000;
JSON
{
  "hex": "#223779",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 225.517,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36024,
    "c": 0.11568,
    "h": 267.1
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#223779
secondary
#AC944B
accent
#BB48DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #223779

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

Preview Lab → · Contrast checker → · Palette generator →

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