#224277#224277

#224277 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.098 H 259.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#224277
RGBrgb(34, 66, 119)
HSLhsl(217, 56%, 30%)
HSVhsv(217, 71%, 47%)
CMYKcmyk(71.4%, 44.5%, 0%, 53.3%)
CIE-LABlab(28.29, 7.46, -33.82)
CIE-LCHlch(28.29, 34.63, 282.43°)
OKLaboklab(38.41% -0.0171 -0.0966)
OKLCHoklch(38.41% 0.098 259.9)
XYZxyz(5.9365, 5.5678, 18.2110)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224277 #775722
analogous
#226C77 #224277 #2D2277
triadic
#224277 #772242 #427722
tetradic
#224277 #77226C #775722 #22772D
square
#224277 #77226C #775722 #22772D
split-complementary
#224277 #772D22 #6C7722
monochromatic
#070D18 #142847 #224277 #305CA7 #497ACB

Accessibility & contrast

On white

9.94
#224277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#224277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224277
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224277#FFFFFF#000000##FFFFFF
##2242771.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294779
Deuteranopia (green-blind)
#1B3F76
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #224277;
/* rgb */ color: rgb(34, 66, 119);
/* oklch */ color: oklch(38.4% 0.098 259.9);
Tailwind
colors: {
  custom: {
    50: '#68759e',
    500: '#224277',
    950: '#000000',
  },
}
SCSS
$custom: #224277;
$custom-light: #68759e;
$custom-dark: #000000;
JSON
{
  "hex": "#224277",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 217.412,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.38413,
    "c": 0.0981,
    "h": 259.9
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#224277
secondary
#AA864B
accent
#A649DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #224277

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

Preview Lab → · Contrast checker → · Palette generator →

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