#223474#223474

#223474 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.112 H 268.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#223474
RGBrgb(34, 52, 116)
HSLhsl(227, 55%, 29%)
HSVhsv(227, 71%, 45%)
CMYKcmyk(70.7%, 55.2%, 0%, 54.5%)
CIE-LABlab(23.86, 16.03, -39.05)
CIE-LCHlch(23.86, 42.22, 292.32°)
OKLaboklab(34.95% -0.0034 -0.1122)
OKLCHoklch(34.95% 0.112 268.2)
XYZxyz(5.0390, 4.0565, 17.0370)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223474 #746222
analogous
#225D74 #223474 #392274
triadic
#223474 #742234 #347422
tetradic
#223474 #74225D #746222 #227439
square
#223474 #74225D #746222 #227439
split-complementary
#223474 #743922 #5D7422
monochromatic
#070B18 #141F45 #223474 #3049A3 #4764C9

Accessibility & contrast

On white

11.59
#223474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#223474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223474
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223474#FFFFFF#000000##FFFFFF
##2234741.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #223474;
/* rgb */ color: rgb(34, 52, 116);
/* oklch */ color: oklch(35.0% 0.112 268.2);
Tailwind
colors: {
  custom: {
    50: '#686b9c',
    500: '#223474',
    950: '#000000',
  },
}
SCSS
$custom: #223474;
$custom-light: #686b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#223474",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 226.829,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34953,
    "c": 0.11226,
    "h": 268.2
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#223474
secondary
#A7934B
accent
#BD4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223474

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

Preview Lab → · Contrast checker → · Palette generator →

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