#223C85#223C85

#223C85 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.127 H 265.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#223C85
RGBrgb(34, 60, 133)
HSLhsl(224, 59%, 33%)
HSVhsv(224, 74%, 52%)
CMYKcmyk(74.4%, 54.9%, 0%, 47.8%)
CIE-LABlab(27.48, 17.15, -43.91)
CIE-LCHlch(27.48, 47.14, 291.34°)
OKLaboklab(38.1% -0.0093 -0.1264)
OKLCHoklch(38.1% 0.127 265.8)
XYZxyz(6.5077, 5.2646, 22.8589)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C85 #856B22
analogous
#226E85 #223C85 #392285
triadic
#223C85 #85223C #3C8522
tetradic
#223C85 #85226E #856B22 #228539
square
#223C85 #85226E #856B22 #228539
split-complementary
#223C85 #853922 #6E8522
monochromatic
#091024 #162654 #223C85 #2E52B6 #4F72D2

Accessibility & contrast

On white

10.23
#223C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#223C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C85
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C85#FFFFFF#000000##FFFFFF
##223C851.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064688
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223c85;
/* rgb */ color: rgb(34, 60, 133);
/* oklch */ color: oklch(38.1% 0.127 265.8);
Tailwind
colors: {
  custom: {
    50: '#6b71a9',
    500: '#223c85',
    950: '#000000',
  },
}
SCSS
$custom: #223c85;
$custom-light: #6b71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#223c85",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 224.242,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.381,
    "c": 0.12671,
    "h": 265.8
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#223C85
secondary
#B69A4D
accent
#B945E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223C85

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

Preview Lab → · Contrast checker → · Palette generator →

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