#224682#224682

#224682 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.109 H 260.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#224682
RGBrgb(34, 70, 130)
HSLhsl(218, 59%, 32%)
HSVhsv(218, 74%, 51%)
CMYKcmyk(73.8%, 46.2%, 0%, 49%)
CIE-LABlab(30.23, 9.07, -37.60)
CIE-LCHlch(30.23, 38.68, 283.57°)
OKLaboklab(40.14% -0.0189 -0.1076)
OKLCHoklch(40.14% 0.109 260)
XYZxyz(6.8777, 6.3314, 21.9744)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224682 #825E22
analogous
#227682 #224682 #2E2282
triadic
#224682 #822246 #468222
tetradic
#224682 #822276 #825E22 #22822E
square
#224682 #822276 #825E22 #22822E
split-complementary
#224682 #822E22 #768222
monochromatic
#091221 #152C51 #224682 #2F60B3 #4E7FD1

Accessibility & contrast

On white

9.27
#224682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#224682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224682
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224682#FFFFFF#000000##FFFFFF
##2246821.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#154381
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #224682;
/* rgb */ color: rgb(34, 70, 130);
/* oklch */ color: oklch(40.1% 0.109 260.0);
Tailwind
colors: {
  custom: {
    50: '#6a79a7',
    500: '#224682',
    950: '#000000',
  },
}
SCSS
$custom: #224682;
$custom-light: #6a79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#224682",
  "rgb": {
    "r": 34,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 217.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40139,
    "c": 0.10928,
    "h": 260
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#224682
secondary
#B48D4C
accent
#A746E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #224682

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

Preview Lab → · Contrast checker → · Palette generator →

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