#223A88#223A88

#223A88 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.134 H 266.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#223A88
RGBrgb(34, 58, 136)
HSLhsl(226, 60%, 33%)
HSVhsv(226, 75%, 53%)
CMYKcmyk(75%, 57.4%, 0%, 46.7%)
CIE-LABlab(27.14, 19.73, -46.32)
CIE-LCHlch(27.14, 50.35, 293.07°)
OKLaboklab(37.92% -0.0073 -0.1335)
OKLCHoklch(37.92% 0.134 266.9)
XYZxyz(6.6151, 5.1431, 23.9319)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A88 #887022
analogous
#226D88 #223A88 #3D2288
triadic
#223A88 #88223A #3A8822
tetradic
#223A88 #88226D #887022 #22883D
square
#223A88 #88226D #887022 #22883D
split-complementary
#223A88 #883D22 #6D8822
monochromatic
#0A1026 #162557 #223A88 #2E4FB9 #5170D3

Accessibility & contrast

On white

10.35
#223A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#223A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A88
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A88#FFFFFF#000000##FFFFFF
##223A881.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223a88;
/* rgb */ color: rgb(34, 58, 136);
/* oklch */ color: oklch(37.9% 0.134 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c6fab',
    500: '#223a88',
    950: '#000000',
  },
}
SCSS
$custom: #223a88;
$custom-light: #6c6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#223a88",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 225.882,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37919,
    "c": 0.1337,
    "h": 266.9
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#223A88
secondary
#B79E4F
accent
#BE45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223A88

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

Preview Lab → · Contrast checker → · Palette generator →

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