#223C93#223C93

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

Color values

HEX#223C93
RGBrgb(34, 60, 147)
HSLhsl(226, 62%, 35%)
HSVhsv(226, 77%, 58%)
CMYKcmyk(76.9%, 59.2%, 0%, 42.4%)
CIE-LABlab(28.58, 22.67, -50.76)
CIE-LCHlch(28.58, 55.59, 294.06°)
OKLaboklab(39.28% -0.0084 -0.1465)
OKLCHoklch(39.28% 0.147 266.7)
XYZxyz(7.5402, 5.6776, 28.2966)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C93 #937922
analogous
#227493 #223C93 #412293
triadic
#223C93 #93223C #3C9322
tetradic
#223C93 #932274 #937922 #229341
square
#223C93 #932274 #937922 #229341
split-complementary
#223C93 #934122 #749322
monochromatic
#0B1330 #172861 #223C93 #2D50C5 #5775D8

Accessibility & contrast

On white

9.83
#223C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223C93
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C93#FFFFFF#000000##FFFFFF
##223C931.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223c93;
/* rgb */ color: rgb(34, 60, 147);
/* oklch */ color: oklch(39.3% 0.147 266.7);
Tailwind
colors: {
  custom: {
    50: '#6f71b3',
    500: '#223c93',
    950: '#000000',
  },
}
SCSS
$custom: #223c93;
$custom-light: #6f71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#223c93",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 147
  },
  "hsl": {
    "h": 226.195,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39283,
    "c": 0.14676,
    "h": 266.7
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#223C93
secondary
#BCA455
accent
#C042E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223C93

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

Preview Lab → · Contrast checker → · Palette generator →

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