#224271#224271

#224271 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.089 H 258.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#224271
RGBrgb(34, 66, 113)
HSLhsl(216, 54%, 29%)
HSVhsv(216, 70%, 44%)
CMYKcmyk(69.9%, 41.6%, 0%, 55.7%)
CIE-LABlab(27.92, 5.10, -30.63)
CIE-LCHlch(27.92, 31.05, 279.45°)
OKLaboklab(38% -0.0185 -0.0872)
OKLCHoklch(38% 0.089 258)
XYZxyz(5.5875, 5.4282, 16.3729)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224271 #715122
analogous
#226A71 #224271 #2A2271
triadic
#224271 #712242 #427122
tetradic
#224271 #71226A #715122 #22712A
square
#224271 #71226A #715122 #22712A
split-complementary
#224271 #712A22 #6A7122
monochromatic
#070E18 #142742 #224271 #305DA0 #467AC7

Accessibility & contrast

On white

10.07
#224271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224271
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224271#FFFFFF#000000##FFFFFF
##2242711.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#213F70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #224271;
/* rgb */ color: rgb(34, 66, 113);
/* oklch */ color: oklch(38.0% 0.089 258.0);
Tailwind
colors: {
  custom: {
    50: '#67769a',
    500: '#224271',
    950: '#000000',
  },
}
SCSS
$custom: #224271;
$custom-light: #67769a;
$custom-dark: #000000;
JSON
{
  "hex": "#224271",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 215.696,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38003,
    "c": 0.08917,
    "h": 258
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#224271
secondary
#A4804A
accent
#A24BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #224271

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

Preview Lab → · Contrast checker → · Palette generator →

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