#224272#224272

#224272 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.1% C 0.091 H 258.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#224272
RGBrgb(34, 66, 114)
HSLhsl(216, 54%, 29%)
HSVhsv(216, 70%, 45%)
CMYKcmyk(70.2%, 42.1%, 0%, 55.3%)
CIE-LABlab(27.98, 5.49, -31.16)
CIE-LCHlch(27.98, 31.64, 279.99°)
OKLaboklab(38.07% -0.0183 -0.0888)
OKLCHoklch(38.07% 0.091 258.4)
XYZxyz(5.6441, 5.4509, 16.6710)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224272 #725222
analogous
#226A72 #224272 #2A2272
triadic
#224272 #722242 #427222
tetradic
#224272 #72226A #725222 #22722A
square
#224272 #72226A #725222 #22722A
split-complementary
#224272 #722A22 #6A7222
monochromatic
#070E18 #142743 #224272 #305DA1 #467AC8

Accessibility & contrast

On white

10.05
#224272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#224272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224272
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224272#FFFFFF#000000##FFFFFF
##2242721.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4674
Deuteranopia (green-blind)
#203F71
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #224272;
/* rgb */ color: rgb(34, 66, 114);
/* oklch */ color: oklch(38.1% 0.091 258.4);
Tailwind
colors: {
  custom: {
    50: '#67769b',
    500: '#224272',
    950: '#000000',
  },
}
SCSS
$custom: #224272;
$custom-light: #67769b;
$custom-dark: #000000;
JSON
{
  "hex": "#224272",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 114
  },
  "hsl": {
    "h": 216,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3807,
    "c": 0.09065,
    "h": 258.4
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#224272
secondary
#A5814B
accent
#A34ADD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #224272

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

Preview Lab → · Contrast checker → · Palette generator →

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