#224281#224281

#224281 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.113 H 262.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#224281
RGBrgb(34, 66, 129)
HSLhsl(220, 58%, 32%)
HSVhsv(220, 74%, 51%)
CMYKcmyk(73.6%, 48.8%, 0%, 49.4%)
CIE-LABlab(28.96, 11.41, -39.03)
CIE-LCHlch(28.96, 40.66, 286.30°)
OKLaboklab(39.14% -0.0152 -0.1119)
OKLCHoklch(39.14% 0.113 262.2)
XYZxyz(6.5689, 5.8208, 21.5420)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224281 #816122
analogous
#227281 #224281 #312281
triadic
#224281 #812242 #428122
tetradic
#224281 #812272 #816122 #228131
square
#224281 #812272 #816122 #228131
split-complementary
#224281 #813122 #728122
monochromatic
#081020 #152951 #224281 #2F5BB1 #4D79D0

Accessibility & contrast

On white

9.70
#224281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#224281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224281
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224281#FFFFFF#000000##FFFFFF
##2242811.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204983
Deuteranopia (green-blind)
#094080
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #224281;
/* rgb */ color: rgb(34, 66, 129);
/* oklch */ color: oklch(39.1% 0.113 262.2);
Tailwind
colors: {
  custom: {
    50: '#6a75a6',
    500: '#224281',
    950: '#000000',
  },
}
SCSS
$custom: #224281;
$custom-light: #6a75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#224281",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 219.789,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.11293,
    "h": 262.2
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#224281
secondary
#B3904B
accent
#AD46E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #224281

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

Preview Lab → · Contrast checker → · Palette generator →

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