#223E7B#223E7B

#223E7B is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.109 H 263.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#223E7B
RGBrgb(34, 62, 123)
HSLhsl(221, 57%, 31%)
HSVhsv(221, 72%, 48%)
CMYKcmyk(72.4%, 49.6%, 0%, 51.8%)
CIE-LABlab(27.34, 11.80, -37.87)
CIE-LCHlch(27.34, 39.67, 287.30°)
OKLaboklab(37.76% -0.0123 -0.1086)
OKLCHoklch(37.76% 0.109 263.5)
XYZxyz(5.9562, 5.2148, 19.4277)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E7B #7B5F22
analogous
#226A7B #223E7B #33227B
triadic
#223E7B #7B223E #3E7B22
tetradic
#223E7B #7B226A #7B5F22 #227B33
square
#223E7B #7B226A #7B5F22 #227B33
split-complementary
#223E7B #7B3322 #6A7B22
monochromatic
#070E1B #15264B #223E7B #2F56AB #4A73CD

Accessibility & contrast

On white

10.28
#223E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223E7B
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E7B#FFFFFF#000000##FFFFFF
##223E7B1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457D
Deuteranopia (green-blind)
#073D7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223e7b;
/* rgb */ color: rgb(34, 62, 123);
/* oklch */ color: oklch(37.8% 0.109 263.5);
Tailwind
colors: {
  custom: {
    50: '#6972a2',
    500: '#223e7b',
    950: '#000000',
  },
}
SCSS
$custom: #223e7b;
$custom-light: #6972a2;
$custom-dark: #000000;
JSON
{
  "hex": "#223e7b",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 221.124,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.10927,
    "h": 263.5
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#223E7B
secondary
#AE8F4B
accent
#B048E0
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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