#224387#224387

#224387 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.120 H 262.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#224387
RGBrgb(34, 67, 135)
HSLhsl(220, 60%, 33%)
HSVhsv(220, 75%, 53%)
CMYKcmyk(74.8%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.67, 13.11, -41.61)
CIE-LCHlch(29.67, 43.62, 287.49°)
OKLaboklab(39.82% -0.0152 -0.1195)
OKLCHoklch(39.82% 0.12 262.7)
XYZxyz(7.0385, 6.1029, 23.7240)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224387 #876622
analogous
#227587 #224387 #332287
triadic
#224387 #872243 #438722
tetradic
#224387 #872275 #876622 #228733
square
#224387 #872275 #876622 #228733
split-complementary
#224387 #873322 #758722
monochromatic
#091225 #162B56 #224387 #2E5BB8 #507BD3

Accessibility & contrast

On white

9.46
#224387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#224387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224387
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224387#FFFFFF#000000##FFFFFF
##2243871.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B89
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #224387;
/* rgb */ color: rgb(34, 67, 135);
/* oklch */ color: oklch(39.8% 0.120 262.7);
Tailwind
colors: {
  custom: {
    50: '#6c76aa',
    500: '#224387',
    950: '#000000',
  },
}
SCSS
$custom: #224387;
$custom-light: #6c76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#224387",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 220.396,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39816,
    "c": 0.12043,
    "h": 262.7
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#224387
secondary
#B7944E
accent
#AF45E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #224387

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

Preview Lab → · Contrast checker → · Palette generator →

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