#223E8D#223E8D

#223E8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.136 H 265.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#223E8D
RGBrgb(34, 62, 141)
HSLhsl(224, 61%, 34%)
HSVhsv(224, 76%, 55%)
CMYKcmyk(75.9%, 56%, 0%, 44.7%)
CIE-LABlab(28.66, 18.94, -46.94)
CIE-LCHlch(28.66, 50.62, 291.97°)
OKLaboklab(39.19% -0.0103 -0.1353)
OKLCHoklch(39.19% 0.136 265.7)
XYZxyz(7.1883, 5.7076, 25.9170)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E8D #8D7122
analogous
#22748D #223E8D #3C228D
triadic
#223E8D #8D223E #3E8D22
tetradic
#223E8D #8D2274 #8D7122 #228D3C
square
#223E8D #8D2274 #8D7122 #228D3C
split-complementary
#223E8D #8D3C22 #748D22
monochromatic
#0A132A #16285C #223E8D #2E54BE #5476D6

Accessibility & contrast

On white

9.81
#223E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#223E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E8D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E8D#FFFFFF#000000##FFFFFF
##223E8D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223e8d;
/* rgb */ color: rgb(34, 62, 141);
/* oklch */ color: oklch(39.2% 0.136 265.7);
Tailwind
colors: {
  custom: {
    50: '#6d72af',
    500: '#223e8d',
    950: '#000000',
  },
}
SCSS
$custom: #223e8d;
$custom-light: #6d72af;
$custom-dark: #000000;
JSON
{
  "hex": "#223e8d",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 224.299,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39191,
    "c": 0.13565,
    "h": 265.7
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#223E8D
secondary
#B99E51
accent
#BA44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #223E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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