#223D88#223D88

#223D88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.130 H 265.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#223D88
RGBrgb(34, 61, 136)
HSLhsl(224, 60%, 33%)
HSVhsv(224, 75%, 53%)
CMYKcmyk(75%, 55.1%, 0%, 46.7%)
CIE-LABlab(27.99, 17.65, -44.94)
CIE-LCHlch(27.99, 48.28, 291.44°)
OKLaboklab(38.56% -0.0098 -0.1294)
OKLCHoklch(38.56% 0.13 265.6)
XYZxyz(6.7708, 5.4544, 23.9838)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D88 #886D22
analogous
#227088 #223D88 #3A2288
triadic
#223D88 #88223D #3D8822
tetradic
#223D88 #882270 #886D22 #22883A
square
#223D88 #882270 #886D22 #22883A
split-complementary
#223D88 #883A22 #708822
monochromatic
#0A1126 #162757 #223D88 #2E53B9 #5173D3

Accessibility & contrast

On white

10.04
#223D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D88
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D88#FFFFFF#000000##FFFFFF
##223D881.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04478B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223d88;
/* rgb */ color: rgb(34, 61, 136);
/* oklch */ color: oklch(38.6% 0.130 265.6);
Tailwind
colors: {
  custom: {
    50: '#6c72ab',
    500: '#223d88',
    950: '#000000',
  },
}
SCSS
$custom: #223d88;
$custom-light: #6c72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223d88",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 224.118,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38563,
    "c": 0.12975,
    "h": 265.6
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#223D88
secondary
#B79B4F
accent
#B945E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223D88

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

Preview Lab → · Contrast checker → · Palette generator →

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