#224274#224274

#224274 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.094 H 259.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#224274
RGBrgb(34, 66, 116)
HSLhsl(217, 55%, 29%)
HSVhsv(217, 71%, 45%)
CMYKcmyk(70.7%, 43.1%, 0%, 54.5%)
CIE-LABlab(28.11, 6.27, -32.23)
CIE-LCHlch(28.11, 32.84, 281.02°)
OKLaboklab(38.21% -0.0178 -0.0919)
OKLCHoklch(38.21% 0.094 259)
XYZxyz(5.7592, 5.4969, 17.2771)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224274 #745422
analogous
#226B74 #224274 #2B2274
triadic
#224274 #742242 #427422
tetradic
#224274 #74226B #745422 #22742B
square
#224274 #74226B #745422 #22742B
split-complementary
#224274 #742B22 #6B7422
monochromatic
#070D18 #142745 #224274 #305DA3 #477AC9

Accessibility & contrast

On white

10.00
#224274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#224274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224274
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224274#FFFFFF#000000##FFFFFF
##2242741.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4676
Deuteranopia (green-blind)
#1E3F73
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #224274;
/* rgb */ color: rgb(34, 66, 116);
/* oklch */ color: oklch(38.2% 0.094 259.0);
Tailwind
colors: {
  custom: {
    50: '#67759c',
    500: '#224274',
    950: '#000000',
  },
}
SCSS
$custom: #224274;
$custom-light: #67759c;
$custom-dark: #000000;
JSON
{
  "hex": "#224274",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 216.585,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38206,
    "c": 0.09363,
    "h": 259
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#224274
secondary
#A7834B
accent
#A44ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #224274

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

Preview Lab → · Contrast checker → · Palette generator →

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