#223D7E#223D7E

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

Color values

HEX#223D7E
RGBrgb(34, 61, 126)
HSLhsl(222, 58%, 31%)
HSVhsv(222, 73%, 49%)
CMYKcmyk(73%, 51.6%, 0%, 50.6%)
CIE-LABlab(27.25, 13.68, -39.90)
CIE-LCHlch(27.25, 42.18, 288.93°)
OKLaboklab(37.76% -0.0109 -0.1145)
OKLCHoklch(37.76% 0.115 264.5)
XYZxyz(6.0930, 5.1833, 20.4140)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D7E #7E6322
analogous
#226B7E #223D7E #35227E
triadic
#223D7E #7E223D #3D7E22
tetradic
#223D7E #7E226B #7E6322 #227E35
square
#223D7E #7E226B #7E6322 #227E35
split-complementary
#223D7E #7E3522 #6B7E22
monochromatic
#080E1E #15264E #223D7E #2F54AE #4C72CF

Accessibility & contrast

On white

10.31
#223D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223D7E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D7E#FFFFFF#000000##FFFFFF
##223D7E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174580
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223d7e;
/* rgb */ color: rgb(34, 61, 126);
/* oklch */ color: oklch(37.8% 0.115 264.5);
Tailwind
colors: {
  custom: {
    50: '#6a72a4',
    500: '#223d7e',
    950: '#000000',
  },
}
SCSS
$custom: #223d7e;
$custom-light: #6a72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#223d7e",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 222.391,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37764,
    "c": 0.11507,
    "h": 264.5
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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