#224182#224182

#224182 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.116 H 263.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#224182
RGBrgb(34, 65, 130)
HSLhsl(221, 59%, 32%)
HSVhsv(221, 74%, 51%)
CMYKcmyk(73.8%, 50%, 0%, 49%)
CIE-LABlab(28.73, 12.50, -40.02)
CIE-LCHlch(28.73, 41.93, 287.35°)
OKLaboklab(38.98% -0.0141 -0.1148)
OKLCHoklch(38.98% 0.116 263)
XYZxyz(6.5778, 5.7317, 21.8744)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224182 #826322
analogous
#227182 #224182 #332282
triadic
#224182 #822241 #418222
tetradic
#224182 #822271 #826322 #228233
square
#224182 #822271 #826322 #228233
split-complementary
#224182 #823322 #718222
monochromatic
#091021 #152951 #224182 #2F59B3 #4E78D1

Accessibility & contrast

On white

9.78
#224182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#224182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224182
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224182#FFFFFF#000000##FFFFFF
##2241821.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4884
Deuteranopia (green-blind)
#024081
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #224182;
/* rgb */ color: rgb(34, 65, 130);
/* oklch */ color: oklch(39.0% 0.116 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a75a7',
    500: '#224182',
    950: '#000000',
  },
}
SCSS
$custom: #224182;
$custom-light: #6a75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#224182",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 220.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38981,
    "c": 0.11572,
    "h": 263
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#224182
secondary
#B4924C
accent
#AF46E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #224182

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

Preview Lab → · Contrast checker → · Palette generator →

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