#223E7F#223E7F

#223E7F is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.115 H 264.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#223E7F
RGBrgb(34, 62, 127)
HSLhsl(222, 58%, 32%)
HSVhsv(222, 73%, 50%)
CMYKcmyk(73.2%, 51.2%, 0%, 50.2%)
CIE-LABlab(27.62, 13.39, -39.93)
CIE-LCHlch(27.62, 42.11, 288.53°)
OKLaboklab(38.07% -0.0118 -0.1146)
OKLCHoklch(38.07% 0.115 264.1)
XYZxyz(6.2117, 5.3170, 20.7735)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E7F #7F6322
analogous
#226D7F #223E7F #34227F
triadic
#223E7F #7F223E #3E7F22
tetradic
#223E7F #7F226D #7F6322 #227F34
square
#223E7F #7F226D #7F6322 #227F34
split-complementary
#223E7F #7F3422 #6D7F22
monochromatic
#080F1E #15264F #223E7F #2F56AF #4C74CF

Accessibility & contrast

On white

10.18
#223E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223E7F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E7F#FFFFFF#000000##FFFFFF
##223E7F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194681
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223e7f;
/* rgb */ color: rgb(34, 62, 127);
/* oklch */ color: oklch(38.1% 0.115 264.1);
Tailwind
colors: {
  custom: {
    50: '#6a72a5',
    500: '#223e7f',
    950: '#000000',
  },
}
SCSS
$custom: #223e7f;
$custom-light: #6a72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#223e7f",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 127
  },
  "hsl": {
    "h": 221.935,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38068,
    "c": 0.11523,
    "h": 264.1
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#223E7F
secondary
#B2934B
accent
#B347E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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