#223F78#223F78

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

Color values

HEX#223F78
RGBrgb(34, 63, 120)
HSLhsl(220, 56%, 30%)
HSVhsv(220, 72%, 47%)
CMYKcmyk(71.7%, 47.5%, 0%, 52.9%)
CIE-LABlab(27.44, 9.92, -35.83)
CIE-LCHlch(27.44, 37.17, 285.47°)
OKLaboklab(37.77% -0.0139 -0.1025)
OKLCHoklch(37.77% 0.103 262.3)
XYZxyz(5.8262, 5.2506, 18.4721)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F78 #785B22
analogous
#226A78 #223F78 #302278
triadic
#223F78 #78223F #3F7822
tetradic
#223F78 #78226A #785B22 #227830
square
#223F78 #78226A #785B22 #227830
split-complementary
#223F78 #783022 #6A7822
monochromatic
#070D19 #142648 #223F78 #3058A8 #4975CB

Accessibility & contrast

On white

10.24
#223F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#223F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F78
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F78#FFFFFF#000000##FFFFFF
##223F781.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#123D77
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223f78;
/* rgb */ color: rgb(34, 63, 120);
/* oklch */ color: oklch(37.8% 0.103 262.3);
Tailwind
colors: {
  custom: {
    50: '#68739f',
    500: '#223f78',
    950: '#000000',
  },
}
SCSS
$custom: #223f78;
$custom-light: #68739f;
$custom-dark: #000000;
JSON
{
  "hex": "#223f78",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 219.767,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37773,
    "c": 0.10346,
    "h": 262.3
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#223F78
secondary
#AB8B4B
accent
#AC49DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #223F78

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

Preview Lab → · Contrast checker → · Palette generator →

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