#223974#223974

#223974 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.105 H 265.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#223974
RGBrgb(34, 57, 116)
HSLhsl(223, 55%, 29%)
HSVhsv(223, 71%, 45%)
CMYKcmyk(70.7%, 50.9%, 0%, 54.5%)
CIE-LABlab(25.34, 12.51, -36.66)
CIE-LCHlch(25.34, 38.74, 288.85°)
OKLaboklab(36.08% -0.0084 -0.1051)
OKLCHoklch(36.08% 0.105 265.4)
XYZxyz(5.2741, 4.5268, 17.1154)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223974 #745D22
analogous
#226274 #223974 #342274
triadic
#223974 #742239 #397422
tetradic
#223974 #742262 #745D22 #227434
square
#223974 #742262 #745D22 #227434
split-complementary
#223974 #743422 #627422
monochromatic
#070C18 #142245 #223974 #3050A3 #476CC9

Accessibility & contrast

On white

11.02
#223974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223974
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223974#FFFFFF#000000##FFFFFF
##2239741.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194076
Deuteranopia (green-blind)
#043973
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223974;
/* rgb */ color: rgb(34, 57, 116);
/* oklch */ color: oklch(36.1% 0.105 265.4);
Tailwind
colors: {
  custom: {
    50: '#686e9c',
    500: '#223974',
    950: '#000000',
  },
}
SCSS
$custom: #223974;
$custom-light: #686e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#223974",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 116
  },
  "hsl": {
    "h": 223.171,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.10543,
    "h": 265.4
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#223974
secondary
#A78D4B
accent
#B44ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223974

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

Preview Lab → · Contrast checker → · Palette generator →

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