#223997#223997

#223997 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.156 H 267.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#223997
RGBrgb(34, 57, 151)
HSLhsl(228, 63%, 36%)
HSVhsv(228, 77%, 59%)
CMYKcmyk(77.5%, 62.3%, 0%, 40.8%)
CIE-LABlab(28.11, 26.27, -53.98)
CIE-LCHlch(28.11, 60.03, 295.95°)
OKLaboklab(39.04% -0.0062 -0.156)
OKLCHoklch(39.04% 0.156 267.7)
XYZxyz(7.7068, 5.4998, 29.9276)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223997 #978022
analogous
#227497 #223997 #462297
triadic
#223997 #972239 #399722
tetradic
#223997 #972274 #978022 #229746
square
#223997 #972274 #978022 #229746
split-complementary
#223997 #974622 #749722
monochromatic
#0C1333 #172665 #223997 #2D4CC9 #5A73DA

Accessibility & contrast

On white

10.00
#223997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#223997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223997
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223997#FFFFFF#000000##FFFFFF
##2239971.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223997;
/* rgb */ color: rgb(34, 57, 151);
/* oklch */ color: oklch(39.0% 0.156 267.7);
Tailwind
colors: {
  custom: {
    50: '#706fb6',
    500: '#223997',
    950: '#000000',
  },
}
SCSS
$custom: #223997;
$custom-light: #706fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#223997",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 151
  },
  "hsl": {
    "h": 228.205,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.15612,
    "h": 267.7
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#223997
secondary
#BEAA57
accent
#C642E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223997

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

Preview Lab → · Contrast checker → · Palette generator →

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