#224391#224391

#224391 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.135 H 264.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#224391
RGBrgb(34, 67, 145)
HSLhsl(222, 62%, 35%)
HSVhsv(222, 77%, 57%)
CMYKcmyk(76.6%, 53.8%, 0%, 43.1%)
CIE-LABlab(30.39, 17.08, -46.60)
CIE-LCHlch(30.39, 49.63, 290.13°)
OKLaboklab(40.6% -0.014 -0.1341)
OKLCHoklch(40.6% 0.135 264)
XYZxyz(7.7759, 6.3979, 27.6077)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224391 #917022
analogous
#227B91 #224391 #382291
triadic
#224391 #912243 #439122
tetradic
#224391 #91227B #917022 #229138
square
#224391 #91227B #917022 #229138
split-complementary
#224391 #913822 #7B9122
monochromatic
#0B152E #162C5F #224391 #2E5AC3 #567CD7

Accessibility & contrast

On white

9.21
#224391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#224391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224391
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224391#FFFFFF#000000##FFFFFF
##2243911.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4D94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #224391;
/* rgb */ color: rgb(34, 67, 145);
/* oklch */ color: oklch(40.6% 0.135 264.0);
Tailwind
colors: {
  custom: {
    50: '#6e76b2',
    500: '#224391',
    950: '#000000',
  },
}
SCSS
$custom: #224391;
$custom-light: #6e76b2;
$custom-dark: #000000;
JSON
{
  "hex": "#224391",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 145
  },
  "hsl": {
    "h": 222.162,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40598,
    "c": 0.13488,
    "h": 264
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#224391
secondary
#BB9C53
accent
#B543E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #224391

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

Preview Lab → · Contrast checker → · Palette generator →

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