#223C83#223C83

#223C83 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.124 H 265.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#223C83
RGBrgb(34, 60, 131)
HSLhsl(224, 59%, 32%)
HSVhsv(224, 74%, 51%)
CMYKcmyk(74%, 54.2%, 0%, 48.6%)
CIE-LABlab(27.32, 16.36, -42.91)
CIE-LCHlch(27.32, 45.92, 290.87°)
OKLaboklab(37.94% -0.0094 -0.1234)
OKLCHoklch(37.94% 0.124 265.6)
XYZxyz(6.3708, 5.2098, 22.1382)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C83 #836922
analogous
#226C83 #223C83 #392283
triadic
#223C83 #83223C #3C8322
tetradic
#223C83 #83226C #836922 #228339
square
#223C83 #83226C #836922 #228339
split-complementary
#223C83 #833922 #6C8322
monochromatic
#090F22 #152652 #223C83 #2F52B4 #4E71D1

Accessibility & contrast

On white

10.28
#223C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#223C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C83
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C83#FFFFFF#000000##FFFFFF
##223C831.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4586
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223c83;
/* rgb */ color: rgb(34, 60, 131);
/* oklch */ color: oklch(37.9% 0.124 265.6);
Tailwind
colors: {
  custom: {
    50: '#6b71a8',
    500: '#223c83',
    950: '#000000',
  },
}
SCSS
$custom: #223c83;
$custom-light: #6b71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#223c83",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 223.918,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37937,
    "c": 0.12378,
    "h": 265.6
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#223C83
secondary
#B4994C
accent
#B846E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223C83

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

Preview Lab → · Contrast checker → · Palette generator →

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