#224187#224187

#224187 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.123 H 263.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#224187
RGBrgb(34, 65, 135)
HSLhsl(222, 60%, 33%)
HSVhsv(222, 75%, 53%)
CMYKcmyk(74.8%, 51.9%, 0%, 47.1%)
CIE-LABlab(29.08, 14.49, -42.56)
CIE-LCHlch(29.08, 44.96, 288.80°)
OKLaboklab(39.37% -0.0134 -0.1223)
OKLCHoklch(39.37% 0.123 263.7)
XYZxyz(6.9216, 5.8692, 23.6851)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224187 #876822
analogous
#227387 #224187 #352287
triadic
#224187 #872241 #418722
tetradic
#224187 #872273 #876822 #228735
square
#224187 #872273 #876822 #228735
split-complementary
#224187 #873522 #738722
monochromatic
#091225 #162956 #224187 #2E59B8 #5078D3

Accessibility & contrast

On white

9.66
#224187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#224187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224187
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224187#FFFFFF#000000##FFFFFF
##2241871.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17498A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #224187;
/* rgb */ color: rgb(34, 65, 135);
/* oklch */ color: oklch(39.4% 0.123 263.7);
Tailwind
colors: {
  custom: {
    50: '#6c75aa',
    500: '#224187',
    950: '#000000',
  },
}
SCSS
$custom: #224187;
$custom-light: #6c75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#224187",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 221.584,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.12304,
    "h": 263.7
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#224187
secondary
#B7974E
accent
#B245E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #224187

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

Preview Lab → · Contrast checker → · Palette generator →

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