#223F75#223F75

#223F75 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.099 H 261.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#223F75
RGBrgb(34, 63, 117)
HSLhsl(219, 55%, 30%)
HSVhsv(219, 71%, 46%)
CMYKcmyk(70.9%, 46.2%, 0%, 54.1%)
CIE-LABlab(27.24, 8.73, -34.25)
CIE-LCHlch(27.24, 35.34, 284.30°)
OKLaboklab(37.56% -0.0144 -0.0979)
OKLCHoklch(37.56% 0.099 261.6)
XYZxyz(5.6469, 5.1789, 17.5282)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F75 #755822
analogous
#226975 #223F75 #2E2275
triadic
#223F75 #75223F #3F7522
tetradic
#223F75 #752269 #755822 #22752E
square
#223F75 #752269 #755822 #22752E
split-complementary
#223F75 #752E22 #697522
monochromatic
#070D18 #142546 #223F75 #3059A4 #4875CA

Accessibility & contrast

On white

10.32
#223F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#223F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F75
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F75#FFFFFF#000000##FFFFFF
##223F751.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254477
Deuteranopia (green-blind)
#163D74
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223f75;
/* rgb */ color: rgb(34, 63, 117);
/* oklch */ color: oklch(37.6% 0.099 261.6);
Tailwind
colors: {
  custom: {
    50: '#68739d',
    500: '#223f75',
    950: '#000000',
  },
}
SCSS
$custom: #223f75;
$custom-light: #68739d;
$custom-dark: #000000;
JSON
{
  "hex": "#223f75",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 117
  },
  "hsl": {
    "h": 219.036,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37556,
    "c": 0.09896,
    "h": 261.6
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#223F75
secondary
#A8874B
accent
#AA49DE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #223F75

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

Preview Lab → · Contrast checker → · Palette generator →

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