#223E8E#223E8E

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

Color values

HEX#223E8E
RGBrgb(34, 62, 142)
HSLhsl(224, 61%, 35%)
HSVhsv(224, 76%, 56%)
CMYKcmyk(76.1%, 56.3%, 0%, 44.3%)
CIE-LABlab(28.74, 19.33, -47.43)
CIE-LCHlch(28.74, 51.22, 292.17°)
OKLaboklab(39.27% -0.0102 -0.1367)
OKLCHoklch(39.27% 0.137 265.7)
XYZxyz(7.2631, 5.7375, 26.3106)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E8E #8E7222
analogous
#22748E #223E8E #3C228E
triadic
#223E8E #8E223E #3E8E22
tetradic
#223E8E #8E2274 #8E7222 #228E3C
square
#223E8E #8E2274 #8E7222 #228E3C
split-complementary
#223E8E #8E3C22 #748E22
monochromatic
#0A132B #16285D #223E8E #2E54BF #5476D6

Accessibility & contrast

On white

9.78
#223E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#223E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E8E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E8E#FFFFFF#000000##FFFFFF
##223E8E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223e8e;
/* rgb */ color: rgb(34, 62, 142);
/* oklch */ color: oklch(39.3% 0.137 265.7);
Tailwind
colors: {
  custom: {
    50: '#6e72b0',
    500: '#223e8e',
    950: '#000000',
  },
}
SCSS
$custom: #223e8e;
$custom-light: #6e72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#223e8e",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 224.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39274,
    "c": 0.13708,
    "h": 265.7
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#223E8E
secondary
#BA9F52
accent
#BB43E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #223E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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