#224291#224291

#224291 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.136 H 264.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#224291
RGBrgb(34, 66, 145)
HSLhsl(223, 62%, 35%)
HSVhsv(223, 77%, 57%)
CMYKcmyk(76.6%, 54.5%, 0%, 43.1%)
CIE-LABlab(30.11, 17.76, -47.06)
CIE-LCHlch(30.11, 50.30, 290.68°)
OKLaboklab(40.38% -0.0132 -0.1355)
OKLCHoklch(40.38% 0.136 264.4)
XYZxyz(7.7169, 6.2800, 27.5880)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224291 #917122
analogous
#227991 #224291 #3A2291
triadic
#224291 #912242 #429122
tetradic
#224291 #912279 #917122 #22913A
square
#224291 #912279 #917122 #22913A
split-complementary
#224291 #913A22 #799122
monochromatic
#0B152E #162B5F #224291 #2E59C3 #567BD7

Accessibility & contrast

On white

9.31
#224291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#224291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224291
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224291#FFFFFF#000000##FFFFFF
##2242911.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064C94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #224291;
/* rgb */ color: rgb(34, 66, 145);
/* oklch */ color: oklch(40.4% 0.136 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e75b2',
    500: '#224291',
    950: '#000000',
  },
}
SCSS
$custom: #224291;
$custom-light: #6e75b2;
$custom-dark: #000000;
JSON
{
  "hex": "#224291",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 222.703,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40381,
    "c": 0.13617,
    "h": 264.4
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#224291
secondary
#BB9D53
accent
#B643E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #224291

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

Preview Lab → · Contrast checker → · Palette generator →

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