#223374#223374

#223374 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.114 H 268.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#223374
RGBrgb(34, 51, 116)
HSLhsl(228, 55%, 29%)
HSVhsv(228, 71%, 45%)
CMYKcmyk(70.7%, 56%, 0%, 54.5%)
CIE-LABlab(23.57, 16.74, -39.52)
CIE-LCHlch(23.57, 42.92, 292.95°)
OKLaboklab(34.73% -0.0025 -0.1136)
OKLCHoklch(34.73% 0.114 268.8)
XYZxyz(4.9948, 3.9682, 17.0223)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223374 #746322
analogous
#225C74 #223374 #3A2274
triadic
#223374 #742233 #337422
tetradic
#223374 #74225C #746322 #22743A
square
#223374 #74225C #746322 #22743A
split-complementary
#223374 #743A22 #5C7422
monochromatic
#070A18 #141E45 #223374 #3048A3 #4762C9

Accessibility & contrast

On white

11.71
#223374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#223374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223374
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223374#FFFFFF#000000##FFFFFF
##2233741.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053C76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223374;
/* rgb */ color: rgb(34, 51, 116);
/* oklch */ color: oklch(34.7% 0.114 268.8);
Tailwind
colors: {
  custom: {
    50: '#686a9d',
    500: '#223374',
    950: '#000000',
  },
}
SCSS
$custom: #223374;
$custom-light: #686a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#223374",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 227.561,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34733,
    "c": 0.11365,
    "h": 268.8
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#223374
secondary
#A7944B
accent
#BF4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223374

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

Preview Lab → · Contrast checker → · Palette generator →

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