#223A7D#223A7D

#223A7D is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.118 H 266.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#223A7D
RGBrgb(34, 58, 125)
HSLhsl(224, 57%, 31%)
HSVhsv(224, 73%, 49%)
CMYKcmyk(72.8%, 53.6%, 0%, 51%)
CIE-LABlab(26.29, 15.38, -40.82)
CIE-LCHlch(26.29, 43.62, 290.64°)
OKLaboklab(37.01% -0.0082 -0.1173)
OKLCHoklch(37.01% 0.118 266)
XYZxyz(5.8731, 4.8463, 20.0240)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A7D #7D6522
analogous
#22677D #223A7D #37227D
triadic
#223A7D #7D223A #3A7D22
tetradic
#223A7D #7D2267 #7D6522 #227D37
square
#223A7D #7D2267 #7D6522 #227D37
split-complementary
#223A7D #7D3722 #677D22
monochromatic
#080D1D #15244D #223A7D #2F50AD #4B6ECE

Accessibility & contrast

On white

10.66
#223A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#223A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A7D
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A7D#FFFFFF#000000##FFFFFF
##223A7D1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F437F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223a7d;
/* rgb */ color: rgb(34, 58, 125);
/* oklch */ color: oklch(37.0% 0.118 266.0);
Tailwind
colors: {
  custom: {
    50: '#6a6fa3',
    500: '#223a7d',
    950: '#000000',
  },
}
SCSS
$custom: #223a7d;
$custom-light: #6a6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#223a7d",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 224.176,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37012,
    "c": 0.1176,
    "h": 266
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#223A7D
secondary
#B0954B
accent
#B847E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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