#223F74#223F74

#223F74 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.097 H 261.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#223F74
RGBrgb(34, 63, 116)
HSLhsl(219, 55%, 29%)
HSVhsv(219, 71%, 45%)
CMYKcmyk(70.7%, 45.7%, 0%, 54.5%)
CIE-LABlab(27.17, 8.33, -33.72)
CIE-LCHlch(27.17, 34.74, 283.88°)
OKLaboklab(37.49% -0.0146 -0.0963)
OKLCHoklch(37.49% 0.097 261.4)
XYZxyz(5.5885, 5.1555, 17.2202)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F74 #745722
analogous
#226874 #223F74 #2E2274
triadic
#223F74 #74223F #3F7422
tetradic
#223F74 #742268 #745722 #22742E
square
#223F74 #742268 #745722 #22742E
split-complementary
#223F74 #742E22 #687422
monochromatic
#070D18 #142545 #223F74 #3059A3 #4775C9

Accessibility & contrast

On white

10.34
#223F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#223F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F74
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F74#FFFFFF#000000##FFFFFF
##223F741.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264476
Deuteranopia (green-blind)
#173D73
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223f74;
/* rgb */ color: rgb(34, 63, 116);
/* oklch */ color: oklch(37.5% 0.097 261.4);
Tailwind
colors: {
  custom: {
    50: '#67739c',
    500: '#223f74',
    950: '#000000',
  },
}
SCSS
$custom: #223f74;
$custom-light: #67739c;
$custom-dark: #000000;
JSON
{
  "hex": "#223f74",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 116
  },
  "hsl": {
    "h": 218.78,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37485,
    "c": 0.09745,
    "h": 261.4
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

primary
#223F74
secondary
#A7864B
accent
#AA4ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #223F74

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

Preview Lab → · Contrast checker → · Palette generator →

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