#223D7B#223D7B

#223D7B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.111 H 264.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#223D7B
RGBrgb(34, 61, 123)
HSLhsl(222, 57%, 31%)
HSVhsv(222, 72%, 48%)
CMYKcmyk(72.4%, 50.4%, 0%, 51.8%)
CIE-LABlab(27.04, 12.49, -38.36)
CIE-LCHlch(27.04, 40.34, 288.04°)
OKLaboklab(37.53% -0.0114 -0.11)
OKLCHoklch(37.53% 0.111 264.1)
XYZxyz(5.9023, 5.1070, 19.4097)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D7B #7B6022
analogous
#22697B #223D7B #33227B
triadic
#223D7B #7B223D #3D7B22
tetradic
#223D7B #7B2269 #7B6022 #227B33
square
#223D7B #7B2269 #7B6022 #227B33
split-complementary
#223D7B #7B3322 #697B22
monochromatic
#070D1B #15254B #223D7B #2F55AB #4A72CD

Accessibility & contrast

On white

10.39
#223D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223D7B
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D7B#FFFFFF#000000##FFFFFF
##223D7B1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447D
Deuteranopia (green-blind)
#033C7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223d7b;
/* rgb */ color: rgb(34, 61, 123);
/* oklch */ color: oklch(37.5% 0.111 264.1);
Tailwind
colors: {
  custom: {
    50: '#6972a2',
    500: '#223d7b',
    950: '#000000',
  },
}
SCSS
$custom: #223d7b;
$custom-light: #6972a2;
$custom-dark: #000000;
JSON
{
  "hex": "#223d7b",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 221.798,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37533,
    "c": 0.1106,
    "h": 264.1
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#223D7B
secondary
#AE904B
accent
#B248E0
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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