#223D7F#223D7F

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

Color values

HEX#223D7F
RGBrgb(34, 61, 127)
HSLhsl(223, 58%, 32%)
HSVhsv(223, 73%, 50%)
CMYKcmyk(73.2%, 52%, 0%, 50.2%)
CIE-LABlab(27.32, 14.08, -40.41)
CIE-LCHlch(27.32, 42.79, 289.21°)
OKLaboklab(37.84% -0.0108 -0.116)
OKLCHoklch(37.84% 0.117 264.7)
XYZxyz(6.1578, 5.2092, 20.7555)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D7F #7F6422
analogous
#226C7F #223D7F #36227F
triadic
#223D7F #7F223D #3D7F22
tetradic
#223D7F #7F226C #7F6422 #227F36
square
#223D7F #7F226C #7F6422 #227F36
split-complementary
#223D7F #7F3622 #6C7F22
monochromatic
#080F1E #15264F #223D7F #2F54AF #4C72CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##223D7F#FFFFFF#000000##FFFFFF
##223D7F1.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)
#164581
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223d7f;
/* rgb */ color: rgb(34, 61, 127);
/* oklch */ color: oklch(37.8% 0.117 264.7);
Tailwind
colors: {
  custom: {
    50: '#6a72a5',
    500: '#223d7f',
    950: '#000000',
  },
}
SCSS
$custom: #223d7f;
$custom-light: #6a72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#223d7f",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 127
  },
  "hsl": {
    "h": 222.581,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.11655,
    "h": 264.7
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#223D7F
secondary
#B2944B
accent
#B447E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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