#223C7E#223C7E

#223C7E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.116 H 265.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#223C7E
RGBrgb(34, 60, 126)
HSLhsl(223, 58%, 31%)
HSVhsv(223, 73%, 49%)
CMYKcmyk(73%, 52.4%, 0%, 50.6%)
CIE-LABlab(26.95, 14.38, -40.38)
CIE-LCHlch(26.95, 42.86, 289.60°)
OKLaboklab(37.54% -0.01 -0.116)
OKLCHoklch(37.54% 0.116 265.1)
XYZxyz(6.0401, 5.0775, 20.3964)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C7E #7E6422
analogous
#226A7E #223C7E #36227E
triadic
#223C7E #7E223C #3C7E22
tetradic
#223C7E #7E226A #7E6422 #227E36
square
#223C7E #7E226A #7E6422 #227E36
split-complementary
#223C7E #7E3622 #6A7E22
monochromatic
#080E1E #15254E #223C7E #2F53AE #4C71CF

Accessibility & contrast

On white

10.42
#223C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C7E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C7E#FFFFFF#000000##FFFFFF
##223C7E1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223c7e;
/* rgb */ color: rgb(34, 60, 126);
/* oklch */ color: oklch(37.5% 0.116 265.1);
Tailwind
colors: {
  custom: {
    50: '#6a71a4',
    500: '#223c7e',
    950: '#000000',
  },
}
SCSS
$custom: #223c7e;
$custom-light: #6a71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#223c7e",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 223.043,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37538,
    "c": 0.1164,
    "h": 265.1
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#223C7E
secondary
#B1944B
accent
#B547E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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