#223F7D#223F7D

#223F7D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.111 H 263.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#223F7D
RGBrgb(34, 63, 125)
HSLhsl(221, 57%, 31%)
HSVhsv(221, 73%, 49%)
CMYKcmyk(72.8%, 49.6%, 0%, 51%)
CIE-LABlab(27.78, 11.90, -38.42)
CIE-LCHlch(27.78, 40.22, 287.21°)
OKLaboklab(38.14% -0.013 -0.1102)
OKLCHoklch(38.14% 0.111 263.3)
XYZxyz(6.1376, 5.3751, 20.1121)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F7D #7D6022
analogous
#226C7D #223F7D #32227D
triadic
#223F7D #7D223F #3F7D22
tetradic
#223F7D #7D226C #7D6022 #227D32
square
#223F7D #7D226C #7D6022 #227D32
split-complementary
#223F7D #7D3222 #6C7D22
monochromatic
#080F1D #15274D #223F7D #2F57AD #4B75CE

Accessibility & contrast

On white

10.12
#223F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223F7D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F7D#FFFFFF#000000##FFFFFF
##223F7D1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467F
Deuteranopia (green-blind)
#063E7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223f7d;
/* rgb */ color: rgb(34, 63, 125);
/* oklch */ color: oklch(38.1% 0.111 263.3);
Tailwind
colors: {
  custom: {
    50: '#6973a3',
    500: '#223f7d',
    950: '#000000',
  },
}
SCSS
$custom: #223f7d;
$custom-light: #6973a3;
$custom-dark: #000000;
JSON
{
  "hex": "#223f7d",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 220.879,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38144,
    "c": 0.11094,
    "h": 263.3
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#223F7D
secondary
#B0904B
accent
#B047E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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