#223999#223999

#223999 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.159 H 267.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#223999
RGBrgb(34, 57, 153)
HSLhsl(228, 64%, 37%)
HSVhsv(228, 78%, 60%)
CMYKcmyk(77.8%, 62.7%, 0%, 40%)
CIE-LABlab(28.29, 27.04, -54.92)
CIE-LCHlch(28.29, 61.21, 296.21°)
OKLaboklab(39.22% -0.0062 -0.1587)
OKLCHoklch(39.22% 0.159 267.8)
XYZxyz(7.8706, 5.5654, 30.7902)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223999 #998222
analogous
#227599 #223999 #472299
triadic
#223999 #992239 #399922
tetradic
#223999 #992275 #998222 #229947
square
#223999 #992275 #998222 #229947
split-complementary
#223999 #994722 #759922
monochromatic
#0C1435 #172667 #223999 #2D4CCB #5B74DB

Accessibility & contrast

On white

9.94
#223999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#223999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223999
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223999#FFFFFF#000000##FFFFFF
##2239991.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223999;
/* rgb */ color: rgb(34, 57, 153);
/* oklch */ color: oklch(39.2% 0.159 267.8);
Tailwind
colors: {
  custom: {
    50: '#716fb8',
    500: '#223999',
    950: '#000000',
  },
}
SCSS
$custom: #223999;
$custom-light: #716fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#223999",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 153
  },
  "hsl": {
    "h": 228.403,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39221,
    "c": 0.15887,
    "h": 267.8
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#223999
secondary
#BFAB58
accent
#C741E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223999

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

Preview Lab → · Contrast checker → · Palette generator →

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