#223E7A#223E7A

#223E7A is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.108 H 263.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#223E7A
RGBrgb(34, 62, 122)
HSLhsl(221, 56%, 31%)
HSVhsv(221, 72%, 48%)
CMYKcmyk(72.1%, 49.2%, 0%, 52.2%)
CIE-LABlab(27.27, 11.40, -37.36)
CIE-LCHlch(27.27, 39.06, 286.97°)
OKLaboklab(37.69% -0.0125 -0.107)
OKLCHoklch(37.69% 0.108 263.3)
XYZxyz(5.8939, 5.1899, 19.0997)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E7A #7A5E22
analogous
#226A7A #223E7A #32227A
triadic
#223E7A #7A223E #3E7A22
tetradic
#223E7A #7A226A #7A5E22 #227A32
square
#223E7A #7A226A #7A5E22 #227A32
split-complementary
#223E7A #7A3222 #6A7A22
monochromatic
#070D1A #15264A #223E7A #2F56AA #4A73CD

Accessibility & contrast

On white

10.30
#223E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#223E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E7A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E7A#FFFFFF#000000##FFFFFF
##223E7A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457C
Deuteranopia (green-blind)
#0A3D79
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223e7a;
/* rgb */ color: rgb(34, 62, 122);
/* oklch */ color: oklch(37.7% 0.108 263.3);
Tailwind
colors: {
  custom: {
    50: '#6972a1',
    500: '#223e7a',
    950: '#000000',
  },
}
SCSS
$custom: #223e7a;
$custom-light: #6972a1;
$custom-dark: #000000;
JSON
{
  "hex": "#223e7a",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 220.909,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37688,
    "c": 0.10778,
    "h": 263.3
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#223E7A
secondary
#AD8E4B
accent
#AF48E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #223E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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