#223A79#223A79

#223A79 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.112 H 265.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#223A79
RGBrgb(34, 58, 121)
HSLhsl(223, 56%, 30%)
HSVhsv(223, 72%, 47%)
CMYKcmyk(71.9%, 52.1%, 0%, 52.5%)
CIE-LABlab(26.00, 13.79, -38.77)
CIE-LCHlch(26.00, 41.15, 289.58°)
OKLaboklab(36.7% -0.0087 -0.1113)
OKLCHoklch(36.7% 0.112 265.5)
XYZxyz(5.6227, 4.7461, 18.7052)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A79 #796122
analogous
#226579 #223A79 #352279
triadic
#223A79 #79223A #3A7922
tetradic
#223A79 #792265 #796122 #227935
square
#223A79 #792265 #796122 #227935
split-complementary
#223A79 #793522 #657922
monochromatic
#070C19 #152349 #223A79 #2F51A9 #496DCC

Accessibility & contrast

On white

10.77
#223A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A79
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A79#FFFFFF#000000##FFFFFF
##223A791.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223a79;
/* rgb */ color: rgb(34, 58, 121);
/* oklch */ color: oklch(36.7% 0.112 265.5);
Tailwind
colors: {
  custom: {
    50: '#696fa0',
    500: '#223a79',
    950: '#000000',
  },
}
SCSS
$custom: #223a79;
$custom-light: #696fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#223a79",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 223.448,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36695,
    "c": 0.11162,
    "h": 265.5
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#223A79
secondary
#AC914B
accent
#B648DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #223A79

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

Preview Lab → · Contrast checker → · Palette generator →

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