#223A74#223A74

#223A74 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.104 H 264.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#223A74
RGBrgb(34, 58, 116)
HSLhsl(222, 55%, 29%)
HSVhsv(222, 71%, 45%)
CMYKcmyk(70.7%, 50%, 0%, 54.5%)
CIE-LABlab(25.64, 11.81, -36.17)
CIE-LCHlch(25.64, 38.05, 288.08°)
OKLaboklab(36.31% -0.0094 -0.1036)
OKLCHoklch(36.31% 0.104 264.8)
XYZxyz(5.3240, 4.6266, 17.1321)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A74 #745C22
analogous
#226374 #223A74 #332274
triadic
#223A74 #74223A #3A7422
tetradic
#223A74 #742263 #745C22 #227433
square
#223A74 #742263 #745C22 #227433
split-complementary
#223A74 #743322 #637422
monochromatic
#070C18 #142245 #223A74 #3052A3 #476DC9

Accessibility & contrast

On white

10.91
#223A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#223A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A74
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A74#FFFFFF#000000##FFFFFF
##223A741.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#083973
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223a74;
/* rgb */ color: rgb(34, 58, 116);
/* oklch */ color: oklch(36.3% 0.104 264.8);
Tailwind
colors: {
  custom: {
    50: '#686f9c',
    500: '#223a74',
    950: '#000000',
  },
}
SCSS
$custom: #223a74;
$custom-light: #686f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#223a74",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 116
  },
  "hsl": {
    "h": 222.439,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3631,
    "c": 0.10407,
    "h": 264.8
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#223A74
secondary
#A78C4B
accent
#B34ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223A74

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

Preview Lab → · Contrast checker → · Palette generator →

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