#223988#223988

#223988 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.135 H 267.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#223988
RGBrgb(34, 57, 136)
HSLhsl(226, 60%, 33%)
HSVhsv(226, 75%, 53%)
CMYKcmyk(75%, 58.1%, 0%, 46.7%)
CIE-LABlab(26.86, 20.42, -46.78)
CIE-LCHlch(26.86, 51.04, 293.58°)
OKLaboklab(37.71% -0.0065 -0.1349)
OKLCHoklch(37.71% 0.135 267.2)
XYZxyz(6.5652, 5.0432, 23.9152)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223988 #887122
analogous
#226C88 #223988 #3E2288
triadic
#223988 #882239 #398822
tetradic
#223988 #88226C #887122 #22883E
square
#223988 #88226C #887122 #22883E
split-complementary
#223988 #883E22 #6C8822
monochromatic
#0A1026 #162457 #223988 #2E4EB9 #516ED3

Accessibility & contrast

On white

10.45
#223988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#223988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223988
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223988#FFFFFF#000000##FFFFFF
##2239881.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223988;
/* rgb */ color: rgb(34, 57, 136);
/* oklch */ color: oklch(37.7% 0.135 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c6fab',
    500: '#223988',
    950: '#000000',
  },
}
SCSS
$custom: #223988;
$custom-light: #6c6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#223988",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 226.471,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37708,
    "c": 0.13502,
    "h": 267.2
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#223988
secondary
#B7A04F
accent
#BF45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223988

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

Preview Lab → · Contrast checker → · Palette generator →

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