#223E88#223E88

#223E88 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.128 H 265.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#223E88
RGBrgb(34, 62, 136)
HSLhsl(224, 60%, 33%)
HSVhsv(224, 75%, 53%)
CMYKcmyk(75%, 54.4%, 0%, 46.7%)
CIE-LABlab(28.28, 16.96, -44.47)
CIE-LCHlch(28.28, 47.59, 290.87°)
OKLaboklab(38.78% -0.0107 -0.128)
OKLCHoklch(38.78% 0.128 265.2)
XYZxyz(6.8247, 5.5622, 24.0017)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E88 #886C22
analogous
#227188 #223E88 #392288
triadic
#223E88 #88223E #3E8822
tetradic
#223E88 #882271 #886C22 #228839
square
#223E88 #882271 #886C22 #228839
split-complementary
#223E88 #883922 #718822
monochromatic
#0A1126 #162857 #223E88 #2E54B9 #5175D3

Accessibility & contrast

On white

9.94
#223E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#223E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##223E88#FFFFFF#000000##FFFFFF
##223E881.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)
#09488B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223e88;
/* rgb */ color: rgb(34, 62, 136);
/* oklch */ color: oklch(38.8% 0.128 265.2);
Tailwind
colors: {
  custom: {
    50: '#6c72ab',
    500: '#223e88',
    950: '#000000',
  },
}
SCSS
$custom: #223e88;
$custom-light: #6c72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223e88",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 223.529,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3878,
    "c": 0.12844,
    "h": 265.2
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#223E88
secondary
#B79A4F
accent
#B845E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #223E88

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

Preview Lab → · Contrast checker → · Palette generator →

#223E88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva