#223C92#223C92

#223C92 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.145 H 266.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#223C92
RGBrgb(34, 60, 146)
HSLhsl(226, 62%, 35%)
HSVhsv(226, 77%, 57%)
CMYKcmyk(76.7%, 58.9%, 0%, 42.7%)
CIE-LABlab(28.50, 22.28, -50.28)
CIE-LCHlch(28.50, 55.00, 293.90°)
OKLaboklab(39.2% -0.0084 -0.1451)
OKLCHoklch(39.2% 0.145 266.7)
XYZxyz(7.4620, 5.6463, 27.8851)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C92 #927822
analogous
#227492 #223C92 #402292
triadic
#223C92 #92223C #3C9222
tetradic
#223C92 #922274 #927822 #229240
square
#223C92 #922274 #927822 #229240
split-complementary
#223C92 #924022 #749222
monochromatic
#0B132F #162860 #223C92 #2E50C4 #5775D8

Accessibility & contrast

On white

9.86
#223C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223C92
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C92#FFFFFF#000000##FFFFFF
##223C921.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223c92;
/* rgb */ color: rgb(34, 60, 146);
/* oklch */ color: oklch(39.2% 0.145 266.7);
Tailwind
colors: {
  custom: {
    50: '#6f71b3',
    500: '#223c92',
    950: '#000000',
  },
}
SCSS
$custom: #223c92;
$custom-light: #6f71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#223c92",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 226.071,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39196,
    "c": 0.14535,
    "h": 266.7
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#223C92
secondary
#BCA454
accent
#C043E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223C92

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

Preview Lab → · Contrast checker → · Palette generator →

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