#224788#224788

#224788 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.117 H 260.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#224788
RGBrgb(34, 71, 136)
HSLhsl(218, 60%, 33%)
HSVhsv(218, 75%, 53%)
CMYKcmyk(75%, 47.8%, 0%, 46.7%)
CIE-LABlab(30.93, 10.77, -40.19)
CIE-LCHlch(30.93, 41.61, 285.00°)
OKLaboklab(40.81% -0.0188 -0.1152)
OKLCHoklch(40.81% 0.117 260.7)
XYZxyz(7.3553, 6.6233, 24.1786)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224788 #886322
analogous
#227A88 #224788 #302288
triadic
#224788 #882247 #478822
tetradic
#224788 #88227A #886322 #228830
square
#224788 #88227A #886322 #228830
split-complementary
#224788 #883022 #7A8822
monochromatic
#0A1426 #162D57 #224788 #2E61B9 #5180D3

Accessibility & contrast

On white

9.03
#224788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#224788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224788
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224788#FFFFFF#000000##FFFFFF
##2247881.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8A
Deuteranopia (green-blind)
#0D4487
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #224788;
/* rgb */ color: rgb(34, 71, 136);
/* oklch */ color: oklch(40.8% 0.117 260.7);
Tailwind
colors: {
  custom: {
    50: '#6c79ab',
    500: '#224788',
    950: '#000000',
  },
}
SCSS
$custom: #224788;
$custom-light: #6c79ab;
$custom-dark: #000000;
JSON
{
  "hex": "#224788",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 218.235,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40806,
    "c": 0.11675,
    "h": 260.7
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#224788
secondary
#B7914F
accent
#AA45E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #224788

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

Preview Lab → · Contrast checker → · Palette generator →

#224788 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva