#224786#224786

#224786 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.114 H 260.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#224786
RGBrgb(34, 71, 134)
HSLhsl(218, 60%, 33%)
HSVhsv(218, 75%, 53%)
CMYKcmyk(74.6%, 47%, 0%, 47.5%)
CIE-LABlab(30.80, 9.98, -39.17)
CIE-LCHlch(30.80, 40.42, 284.29°)
OKLaboklab(40.66% -0.0191 -0.1122)
OKLCHoklch(40.66% 0.114 260.3)
XYZxyz(7.2145, 6.5670, 23.4370)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224786 #866122
analogous
#227986 #224786 #2F2286
triadic
#224786 #862247 #478622
tetradic
#224786 #862279 #866122 #22862F
square
#224786 #862279 #866122 #22862F
split-complementary
#224786 #862F22 #798622
monochromatic
#091324 #162D55 #224786 #2E61B7 #5080D3

Accessibility & contrast

On white

9.08
#224786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#224786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224786
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224786#FFFFFF#000000##FFFFFF
##2247861.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D88
Deuteranopia (green-blind)
#114485
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #224786;
/* rgb */ color: rgb(34, 71, 134);
/* oklch */ color: oklch(40.7% 0.114 260.3);
Tailwind
colors: {
  custom: {
    50: '#6b79aa',
    500: '#224786',
    950: '#000000',
  },
}
SCSS
$custom: #224786;
$custom-light: #6b79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#224786",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 217.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.11385,
    "h": 260.3
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#224786
secondary
#B68F4E
accent
#A845E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #224786

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

Preview Lab → · Contrast checker → · Palette generator →

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