#223E76#223E76

#223E76 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.102 H 262.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#223E76
RGBrgb(34, 62, 118)
HSLhsl(220, 55%, 30%)
HSVhsv(220, 71%, 46%)
CMYKcmyk(71.2%, 47.5%, 0%, 53.7%)
CIE-LABlab(27.00, 9.82, -35.27)
CIE-LCHlch(27.00, 36.61, 285.55°)
OKLaboklab(37.39% -0.0132 -0.1009)
OKLCHoklch(37.39% 0.102 262.5)
XYZxyz(5.6512, 5.0928, 17.8212)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E76 #765A22
analogous
#226876 #223E76 #302276
triadic
#223E76 #76223E #3E7622
tetradic
#223E76 #762268 #765A22 #227630
square
#223E76 #762268 #765A22 #227630
split-complementary
#223E76 #763022 #687622
monochromatic
#070C18 #142546 #223E76 #3057A6 #4874CA

Accessibility & contrast

On white

10.40
#223E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E76
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E76#FFFFFF#000000##FFFFFF
##223E761.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#123C75
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223e76;
/* rgb */ color: rgb(34, 62, 118);
/* oklch */ color: oklch(37.4% 0.102 262.5);
Tailwind
colors: {
  custom: {
    50: '#68729e',
    500: '#223e76',
    950: '#000000',
  },
}
SCSS
$custom: #223e76;
$custom-light: #68729e;
$custom-dark: #000000;
JSON
{
  "hex": "#223e76",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 118
  },
  "hsl": {
    "h": 220,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37392,
    "c": 0.10177,
    "h": 262.5
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#223E76
secondary
#A98A4B
accent
#AD49DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #223E76

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

Preview Lab → · Contrast checker → · Palette generator →

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