#223E8F#223E8F

#223E8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.139 H 265.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#223E8F
RGBrgb(34, 62, 143)
HSLhsl(225, 62%, 35%)
HSVhsv(225, 76%, 56%)
CMYKcmyk(76.2%, 56.6%, 0%, 43.9%)
CIE-LABlab(28.82, 19.72, -47.92)
CIE-LCHlch(28.82, 51.82, 292.37°)
OKLaboklab(39.36% -0.0101 -0.1381)
OKLCHoklch(39.36% 0.139 265.8)
XYZxyz(7.3385, 5.7677, 26.7078)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E8F #8F7322
analogous
#22758F #223E8F #3C228F
triadic
#223E8F #8F223E #3E8F22
tetradic
#223E8F #8F2275 #8F7322 #228F3C
square
#223E8F #8F2275 #8F7322 #228F3C
split-complementary
#223E8F #8F3C22 #758F22
monochromatic
#0A132C #16295E #223E8F #2E53C0 #5576D7

Accessibility & contrast

On white

9.75
#223E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223E8F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E8F#FFFFFF#000000##FFFFFF
##223E8F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223e8f;
/* rgb */ color: rgb(34, 62, 143);
/* oklch */ color: oklch(39.4% 0.139 265.8);
Tailwind
colors: {
  custom: {
    50: '#6e72b0',
    500: '#223e8f',
    950: '#000000',
  },
}
SCSS
$custom: #223e8f;
$custom-light: #6e72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#223e8f",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 224.587,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39358,
    "c": 0.13851,
    "h": 265.8
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#223E8F
secondary
#BAA052
accent
#BB43E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #223E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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