#223479#223479

#223479 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.120 H 268.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#223479
RGBrgb(34, 52, 121)
HSLhsl(228, 56%, 30%)
HSVhsv(228, 72%, 47%)
CMYKcmyk(71.9%, 57%, 0%, 52.5%)
CIE-LABlab(24.25, 18.00, -41.60)
CIE-LCHlch(24.25, 45.33, 293.40°)
OKLaboklab(35.37% -0.0031 -0.1197)
OKLCHoklch(35.37% 0.12 268.5)
XYZxyz(5.3377, 4.1760, 18.6102)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223479 #796722
analogous
#225F79 #223479 #3B2279
triadic
#223479 #792234 #347922
tetradic
#223479 #79225F #796722 #22793B
square
#223479 #79225F #796722 #22793B
split-complementary
#223479 #793B22 #5F7922
monochromatic
#070B19 #151F49 #223479 #2F49A9 #4964CC

Accessibility & contrast

On white

11.44
#223479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#223479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223479
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223479#FFFFFF#000000##FFFFFF
##2234791.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223479;
/* rgb */ color: rgb(34, 52, 121);
/* oklch */ color: oklch(35.4% 0.120 268.5);
Tailwind
colors: {
  custom: {
    50: '#696ba0',
    500: '#223479',
    950: '#000000',
  },
}
SCSS
$custom: #223479;
$custom-light: #696ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#223479",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 227.586,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35368,
    "c": 0.11976,
    "h": 268.5
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#223479
secondary
#AC984B
accent
#C048DF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #223479

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

Preview Lab → · Contrast checker → · Palette generator →

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