#223E7E#223E7E

#223E7E is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.114 H 264.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#223E7E
RGBrgb(34, 62, 126)
HSLhsl(222, 58%, 31%)
HSVhsv(222, 73%, 49%)
CMYKcmyk(73%, 50.8%, 0%, 50.6%)
CIE-LABlab(27.55, 12.99, -39.42)
CIE-LCHlch(27.55, 41.50, 288.24°)
OKLaboklab(37.99% -0.0119 -0.1131)
OKLCHoklch(37.99% 0.114 264)
XYZxyz(6.1469, 5.2911, 20.4319)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E7E #7E6222
analogous
#226C7E #223E7E #34227E
triadic
#223E7E #7E223E #3E7E22
tetradic
#223E7E #7E226C #7E6222 #227E34
square
#223E7E #7E226C #7E6222 #227E34
split-complementary
#223E7E #7E3422 #6C7E22
monochromatic
#080F1E #15264E #223E7E #2F56AE #4C74CF

Accessibility & contrast

On white

10.20
#223E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#223E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E7E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E7E#FFFFFF#000000##FFFFFF
##223E7E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4680
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223e7e;
/* rgb */ color: rgb(34, 62, 126);
/* oklch */ color: oklch(38.0% 0.114 264.0);
Tailwind
colors: {
  custom: {
    50: '#6a72a4',
    500: '#223e7e',
    950: '#000000',
  },
}
SCSS
$custom: #223e7e;
$custom-light: #6a72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#223e7e",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 221.739,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37991,
    "c": 0.11374,
    "h": 264
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#223E7E
secondary
#B1924B
accent
#B247E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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