#223F79#223F79

#223F79 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.105 H 262.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#223F79
RGBrgb(34, 63, 121)
HSLhsl(220, 56%, 30%)
HSVhsv(220, 72%, 47%)
CMYKcmyk(71.9%, 47.9%, 0%, 52.5%)
CIE-LABlab(27.50, 10.31, -36.35)
CIE-LCHlch(27.50, 37.78, 285.84°)
OKLaboklab(37.85% -0.0137 -0.1041)
OKLCHoklch(37.85% 0.105 262.5)
XYZxyz(5.8872, 5.2750, 18.7934)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F79 #795C22
analogous
#226A79 #223F79 #302279
triadic
#223F79 #79223F #3F7922
tetradic
#223F79 #79226A #795C22 #227930
square
#223F79 #79226A #795C22 #227930
split-complementary
#223F79 #793022 #6A7922
monochromatic
#070D19 #152649 #223F79 #2F58A9 #4975CC

Accessibility & contrast

On white

10.22
#223F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223F79
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F79#FFFFFF#000000##FFFFFF
##223F791.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#103D78
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223f79;
/* rgb */ color: rgb(34, 63, 121);
/* oklch */ color: oklch(37.8% 0.105 262.5);
Tailwind
colors: {
  custom: {
    50: '#6873a0',
    500: '#223f79',
    950: '#000000',
  },
}
SCSS
$custom: #223f79;
$custom-light: #6873a0;
$custom-dark: #000000;
JSON
{
  "hex": "#223f79",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 220,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37846,
    "c": 0.10497,
    "h": 262.5
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#223F79
secondary
#AC8C4B
accent
#AD48DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #223F79

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

Preview Lab → · Contrast checker → · Palette generator →

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