#223D8E#223D8E

#223D8E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.138 H 266.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#223D8E
RGBrgb(34, 61, 142)
HSLhsl(225, 61%, 35%)
HSVhsv(225, 76%, 56%)
CMYKcmyk(76.1%, 57%, 0%, 44.3%)
CIE-LABlab(28.46, 20.02, -47.89)
CIE-LCHlch(28.46, 51.91, 292.69°)
OKLaboklab(39.06% -0.0094 -0.1381)
OKLCHoklch(39.06% 0.138 266.1)
XYZxyz(7.2092, 5.6298, 26.2927)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D8E #8E7322
analogous
#22738E #223D8E #3D228E
triadic
#223D8E #8E223D #3D8E22
tetradic
#223D8E #8E2273 #8E7322 #228E3D
square
#223D8E #8E2273 #8E7322 #228E3D
split-complementary
#223D8E #8E3D22 #738E22
monochromatic
#0A132B #16285D #223D8E #2E52BF #5475D6

Accessibility & contrast

On white

9.88
#223D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#223D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D8E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D8E#FFFFFF#000000##FFFFFF
##223D8E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223d8e;
/* rgb */ color: rgb(34, 61, 142);
/* oklch */ color: oklch(39.1% 0.138 266.1);
Tailwind
colors: {
  custom: {
    50: '#6e72b0',
    500: '#223d8e',
    950: '#000000',
  },
}
SCSS
$custom: #223d8e;
$custom-light: #6e72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#223d8e",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 225,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39062,
    "c": 0.13838,
    "h": 266.1
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#223D8E
secondary
#BAA052
accent
#BC43E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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