#223F76#223F76

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

Color values

HEX#223F76
RGBrgb(34, 63, 118)
HSLhsl(219, 55%, 30%)
HSVhsv(219, 71%, 46%)
CMYKcmyk(71.2%, 46.6%, 0%, 53.7%)
CIE-LABlab(27.30, 9.12, -34.78)
CIE-LCHlch(27.30, 35.95, 284.70°)
OKLaboklab(37.63% -0.0142 -0.0994)
OKLCHoklch(37.63% 0.1 261.9)
XYZxyz(5.7060, 5.2025, 17.8395)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F76 #765922
analogous
#226976 #223F76 #2F2276
triadic
#223F76 #76223F #3F7622
tetradic
#223F76 #762269 #765922 #22762F
square
#223F76 #762269 #765922 #22762F
split-complementary
#223F76 #762F22 #697622
monochromatic
#070D18 #142646 #223F76 #3058A6 #4875CA

Accessibility & contrast

On white

10.29
#223F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223F76
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F76#FFFFFF#000000##FFFFFF
##223F761.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244578
Deuteranopia (green-blind)
#153D75
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223f76;
/* rgb */ color: rgb(34, 63, 118);
/* oklch */ color: oklch(37.6% 0.100 261.9);
Tailwind
colors: {
  custom: {
    50: '#68739e',
    500: '#223f76',
    950: '#000000',
  },
}
SCSS
$custom: #223f76;
$custom-light: #68739e;
$custom-dark: #000000;
JSON
{
  "hex": "#223f76",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 118
  },
  "hsl": {
    "h": 219.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37628,
    "c": 0.10046,
    "h": 261.9
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#223F76
secondary
#A9884B
accent
#AB49DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #223F76

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

Preview Lab → · Contrast checker → · Palette generator →

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