#223C7D#223C7D

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

Color values

HEX#223C7D
RGBrgb(34, 60, 125)
HSLhsl(223, 57%, 31%)
HSVhsv(223, 73%, 49%)
CMYKcmyk(72.8%, 52%, 0%, 51%)
CIE-LABlab(26.88, 13.98, -39.86)
CIE-LCHlch(26.88, 42.25, 289.33°)
OKLaboklab(37.46% -0.0101 -0.1145)
OKLCHoklch(37.46% 0.115 264.9)
XYZxyz(5.9759, 5.0519, 20.0582)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C7D #7D6322
analogous
#22697D #223C7D #35227D
triadic
#223C7D #7D223C #3C7D22
tetradic
#223C7D #7D2269 #7D6322 #227D35
square
#223C7D #7D2269 #7D6322 #227D35
split-complementary
#223C7D #7D3522 #697D22
monochromatic
#080E1D #15254D #223C7D #2F53AD #4B71CE

Accessibility & contrast

On white

10.45
#223C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#223C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C7D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C7D#FFFFFF#000000##FFFFFF
##223C7D1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223c7d;
/* rgb */ color: rgb(34, 60, 125);
/* oklch */ color: oklch(37.5% 0.115 264.9);
Tailwind
colors: {
  custom: {
    50: '#6a71a3',
    500: '#223c7d',
    950: '#000000',
  },
}
SCSS
$custom: #223c7d;
$custom-light: #6a71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#223c7d",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 222.857,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3746,
    "c": 0.11492,
    "h": 264.9
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#223C7D
secondary
#B0934B
accent
#B547E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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