#223C90#223C90

#223C90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.143 H 266.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#223C90
RGBrgb(34, 60, 144)
HSLhsl(226, 62%, 35%)
HSVhsv(226, 76%, 56%)
CMYKcmyk(76.4%, 58.3%, 0%, 43.5%)
CIE-LABlab(28.34, 21.49, -49.32)
CIE-LCHlch(28.34, 53.80, 293.55°)
OKLaboklab(39.02% -0.0085 -0.1423)
OKLCHoklch(39.02% 0.143 266.6)
XYZxyz(7.3078, 5.5846, 27.0729)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C90 #907622
analogous
#227390 #223C90 #3F2290
triadic
#223C90 #90223C #3C9022
tetradic
#223C90 #902273 #907622 #22903F
square
#223C90 #902273 #907622 #22903F
split-complementary
#223C90 #903F22 #739022
monochromatic
#0B132D #16275E #223C90 #2E51C2 #5574D7

Accessibility & contrast

On white

9.92
#223C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#223C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C90
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C90#FFFFFF#000000##FFFFFF
##223C901.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223c90;
/* rgb */ color: rgb(34, 60, 144);
/* oklch */ color: oklch(39.0% 0.143 266.6);
Tailwind
colors: {
  custom: {
    50: '#6e71b1',
    500: '#223c90',
    950: '#000000',
  },
}
SCSS
$custom: #223c90;
$custom-light: #6e71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#223c90",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 225.818,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39023,
    "c": 0.14252,
    "h": 266.6
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#223C90
secondary
#BBA253
accent
#BF43E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223C90

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

Preview Lab → · Contrast checker → · Palette generator →

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