#223984#223984

#223984 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.129 H 267.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#223984
RGBrgb(34, 57, 132)
HSLhsl(226, 59%, 33%)
HSVhsv(226, 74%, 52%)
CMYKcmyk(74.2%, 56.8%, 0%, 48.2%)
CIE-LABlab(26.54, 18.84, -44.80)
CIE-LCHlch(26.54, 48.61, 292.81°)
OKLaboklab(37.37% -0.0067 -0.129)
OKLCHoklch(37.37% 0.129 267)
XYZxyz(6.2862, 4.9316, 22.4459)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223984 #846D22
analogous
#226A84 #223984 #3C2284
triadic
#223984 #842239 #398422
tetradic
#223984 #84226A #846D22 #22843C
square
#223984 #84226A #846D22 #22843C
split-complementary
#223984 #843C22 #6A8422
monochromatic
#090F23 #152453 #223984 #2F4EB5 #4F6DD2

Accessibility & contrast

On white

10.57
#223984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#223984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223984
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223984#FFFFFF#000000##FFFFFF
##2239841.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223984;
/* rgb */ color: rgb(34, 57, 132);
/* oklch */ color: oklch(37.4% 0.129 267.0);
Tailwind
colors: {
  custom: {
    50: '#6b6fa8',
    500: '#223984',
    950: '#000000',
  },
}
SCSS
$custom: #223984;
$custom-light: #6b6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#223984",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 225.918,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37368,
    "c": 0.12923,
    "h": 267
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#223984
secondary
#B59D4D
accent
#BD46E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223984

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

Preview Lab → · Contrast checker → · Palette generator →

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