#223A76#223A76

#223A76 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.107 H 265.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#223A76
RGBrgb(34, 58, 118)
HSLhsl(223, 55%, 30%)
HSVhsv(223, 71%, 46%)
CMYKcmyk(71.2%, 50.8%, 0%, 53.7%)
CIE-LABlab(25.78, 12.60, -37.22)
CIE-LCHlch(25.78, 39.29, 288.71°)
OKLaboklab(36.46% -0.0091 -0.1067)
OKLCHoklch(36.46% 0.107 265.1)
XYZxyz(5.4416, 4.6737, 17.7514)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A76 #765E22
analogous
#226476 #223A76 #342276
triadic
#223A76 #76223A #3A7622
tetradic
#223A76 #762264 #765E22 #227634
square
#223A76 #762264 #765E22 #227634
split-complementary
#223A76 #763422 #647622
monochromatic
#070C18 #142346 #223A76 #3051A6 #486DCA

Accessibility & contrast

On white

10.85
#223A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223A76
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A76#FFFFFF#000000##FFFFFF
##223A761.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#033975
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223a76;
/* rgb */ color: rgb(34, 58, 118);
/* oklch */ color: oklch(36.5% 0.107 265.1);
Tailwind
colors: {
  custom: {
    50: '#686f9e',
    500: '#223a76',
    950: '#000000',
  },
}
SCSS
$custom: #223a76;
$custom-light: #686f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#223a76",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 118
  },
  "hsl": {
    "h": 222.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36463,
    "c": 0.1071,
    "h": 265.1
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#223A76
secondary
#A98E4B
accent
#B449DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223A76

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

Preview Lab → · Contrast checker → · Palette generator →

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