#223C8E#223C8E

#223C8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.140 H 266.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#223C8E
RGBrgb(34, 60, 142)
HSLhsl(226, 61%, 35%)
HSVhsv(226, 76%, 56%)
CMYKcmyk(76.1%, 57.7%, 0%, 44.3%)
CIE-LABlab(28.18, 20.71, -48.35)
CIE-LCHlch(28.18, 52.59, 293.19°)
OKLaboklab(38.85% -0.0086 -0.1394)
OKLCHoklch(38.85% 0.14 266.5)
XYZxyz(7.1563, 5.5240, 26.2750)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C8E #8E7422
analogous
#22728E #223C8E #3E228E
triadic
#223C8E #8E223C #3C8E22
tetradic
#223C8E #8E2272 #8E7422 #228E3E
square
#223C8E #8E2272 #8E7422 #228E3E
split-complementary
#223C8E #8E3E22 #728E22
monochromatic
#0A122B #16275D #223C8E #2E51BF #5474D6

Accessibility & contrast

On white

9.98
#223C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#223C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C8E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C8E#FFFFFF#000000##FFFFFF
##223C8E1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223c8e;
/* rgb */ color: rgb(34, 60, 142);
/* oklch */ color: oklch(38.9% 0.140 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e71b0',
    500: '#223c8e',
    950: '#000000',
  },
}
SCSS
$custom: #223c8e;
$custom-light: #6e71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#223c8e",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 225.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38851,
    "c": 0.13968,
    "h": 266.5
  },
  "luminance": 0.05525
}

Semantic roles & 50–950 ramp

primary
#223C8E
secondary
#BAA152
accent
#BE43E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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