#223F7A#223F7A

#223F7A is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.106 H 262.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#223F7A
RGBrgb(34, 63, 122)
HSLhsl(220, 56%, 31%)
HSVhsv(220, 72%, 48%)
CMYKcmyk(72.1%, 48.4%, 0%, 52.2%)
CIE-LABlab(27.57, 10.71, -36.87)
CIE-LCHlch(27.57, 38.39, 286.20°)
OKLaboklab(37.92% -0.0135 -0.1056)
OKLCHoklch(37.92% 0.106 262.7)
XYZxyz(5.9488, 5.2996, 19.1180)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F7A #7A5D22
analogous
#226B7A #223F7A #31227A
triadic
#223F7A #7A223F #3F7A22
tetradic
#223F7A #7A226B #7A5D22 #227A31
square
#223F7A #7A226B #7A5D22 #227A31
split-complementary
#223F7A #7A3122 #6B7A22
monochromatic
#070E1A #15264A #223F7A #2F58AA #4A75CD

Accessibility & contrast

On white

10.19
#223F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#223F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F7A
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F7A#FFFFFF#000000##FFFFFF
##223F7A1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457C
Deuteranopia (green-blind)
#0E3D79
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223f7a;
/* rgb */ color: rgb(34, 63, 122);
/* oklch */ color: oklch(37.9% 0.106 262.7);
Tailwind
colors: {
  custom: {
    50: '#6973a1',
    500: '#223f7a',
    950: '#000000',
  },
}
SCSS
$custom: #223f7a;
$custom-light: #6973a1;
$custom-dark: #000000;
JSON
{
  "hex": "#223f7a",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 122
  },
  "hsl": {
    "h": 220.227,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3792,
    "c": 0.10646,
    "h": 262.7
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#223F7A
secondary
#AD8D4B
accent
#AE48E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #223F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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