#223D80#223D80

#223D80 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.118 H 264.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#223D80
RGBrgb(34, 61, 128)
HSLhsl(223, 58%, 32%)
HSVhsv(223, 73%, 50%)
CMYKcmyk(73.4%, 52.3%, 0%, 49.8%)
CIE-LABlab(27.40, 14.48, -40.92)
CIE-LCHlch(27.40, 43.40, 289.49°)
OKLaboklab(37.92% -0.0107 -0.1175)
OKLCHoklch(37.92% 0.118 264.8)
XYZxyz(6.2233, 5.2354, 21.1004)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D80 #806522
analogous
#226C80 #223D80 #362280
triadic
#223D80 #80223D #3D8022
tetradic
#223D80 #80226C #806522 #228036
square
#223D80 #80226C #806522 #228036
split-complementary
#223D80 #803622 #6C8022
monochromatic
#080F1F #152650 #223D80 #2F54B0 #4D72D0

Accessibility & contrast

On white

10.26
#223D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223D80
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D80#FFFFFF#000000##FFFFFF
##223D801.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154582
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223d80;
/* rgb */ color: rgb(34, 61, 128);
/* oklch */ color: oklch(37.9% 0.118 264.8);
Tailwind
colors: {
  custom: {
    50: '#6a72a5',
    500: '#223d80',
    950: '#000000',
  },
}
SCSS
$custom: #223d80;
$custom-light: #6a72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#223d80",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 222.766,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3792,
    "c": 0.11804,
    "h": 264.8
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223D80

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

Preview Lab → · Contrast checker → · Palette generator →

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