#223A7C#223A7C

#223A7C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.116 H 265.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#223A7C
RGBrgb(34, 58, 124)
HSLhsl(224, 57%, 31%)
HSVhsv(224, 73%, 49%)
CMYKcmyk(72.6%, 53.2%, 0%, 51.4%)
CIE-LABlab(26.22, 14.98, -40.31)
CIE-LCHlch(26.22, 43.00, 290.39°)
OKLaboklab(36.93% -0.0084 -0.1158)
OKLCHoklch(36.93% 0.116 265.9)
XYZxyz(5.8096, 4.8208, 19.6892)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A7C #7C6422
analogous
#22677C #223A7C #37227C
triadic
#223A7C #7C223A #3A7C22
tetradic
#223A7C #7C2267 #7C6422 #227C37
square
#223A7C #7C2267 #7C6422 #227C37
split-complementary
#223A7C #7C3722 #677C22
monochromatic
#080D1C #15244C #223A7C #2F50AC #4B6ECE

Accessibility & contrast

On white

10.69
#223A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#223A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A7C
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A7C#FFFFFF#000000##FFFFFF
##223A7C1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223a7c;
/* rgb */ color: rgb(34, 58, 124);
/* oklch */ color: oklch(36.9% 0.116 265.9);
Tailwind
colors: {
  custom: {
    50: '#696fa2',
    500: '#223a7c',
    950: '#000000',
  },
}
SCSS
$custom: #223a7c;
$custom-light: #696fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#223a7c",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 224,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36932,
    "c": 0.11611,
    "h": 265.9
  },
  "luminance": 0.04821
}

Semantic roles & 50–950 ramp

primary
#223A7C
secondary
#AF944B
accent
#B848E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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