#224287#224287

#224287 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.122 H 263.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#224287
RGBrgb(34, 66, 135)
HSLhsl(221, 60%, 33%)
HSVhsv(221, 75%, 53%)
CMYKcmyk(74.8%, 51.1%, 0%, 47.1%)
CIE-LABlab(29.37, 13.80, -42.08)
CIE-LCHlch(29.37, 44.29, 288.15°)
OKLaboklab(39.59% -0.0143 -0.1209)
OKLCHoklch(39.59% 0.122 263.2)
XYZxyz(6.9795, 5.9850, 23.7044)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224287 #876722
analogous
#227487 #224287 #342287
triadic
#224287 #872242 #428722
tetradic
#224287 #872274 #876722 #228734
square
#224287 #872274 #876722 #228734
split-complementary
#224287 #873422 #748722
monochromatic
#091225 #162A56 #224287 #2E5AB8 #507AD3

Accessibility & contrast

On white

9.56
#224287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#224287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224287
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224287#FFFFFF#000000##FFFFFF
##2242871.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A8A
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #224287;
/* rgb */ color: rgb(34, 66, 135);
/* oklch */ color: oklch(39.6% 0.122 263.2);
Tailwind
colors: {
  custom: {
    50: '#6c75aa',
    500: '#224287',
    950: '#000000',
  },
}
SCSS
$custom: #224287;
$custom-light: #6c75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#224287",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 220.99,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.12174,
    "h": 263.2
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#224287
secondary
#B7954E
accent
#B145E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #224287

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

Preview Lab → · Contrast checker → · Palette generator →

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