#223F7E#223F7E

#223F7E is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.112 H 263.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#223F7E
RGBrgb(34, 63, 126)
HSLhsl(221, 58%, 31%)
HSVhsv(221, 73%, 49%)
CMYKcmyk(73%, 50%, 0%, 50.6%)
CIE-LABlab(27.85, 12.30, -38.94)
CIE-LCHlch(27.85, 40.83, 287.53°)
OKLaboklab(38.22% -0.0128 -0.1117)
OKLCHoklch(38.22% 0.112 263.4)
XYZxyz(6.2018, 5.4008, 20.4502)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F7E #7E6122
analogous
#226D7E #223F7E #33227E
triadic
#223F7E #7E223F #3F7E22
tetradic
#223F7E #7E226D #7E6122 #227E33
square
#223F7E #7E226D #7E6122 #227E33
split-complementary
#223F7E #7E3322 #6D7E22
monochromatic
#080F1E #15274E #223F7E #2F57AE #4C75CF

Accessibility & contrast

On white

10.10
#223F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#223F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F7E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F7E#FFFFFF#000000##FFFFFF
##223F7E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#043E7D
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223f7e;
/* rgb */ color: rgb(34, 63, 126);
/* oklch */ color: oklch(38.2% 0.112 263.4);
Tailwind
colors: {
  custom: {
    50: '#6a73a4',
    500: '#223f7e',
    950: '#000000',
  },
}
SCSS
$custom: #223f7e;
$custom-light: #6a73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#223f7e",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 126
  },
  "hsl": {
    "h": 221.087,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3822,
    "c": 0.11243,
    "h": 263.4
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#223F7E
secondary
#B1914B
accent
#B047E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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