#224299#224299

#224299 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.147 H 265.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#224299
RGBrgb(34, 66, 153)
HSLhsl(224, 64%, 37%)
HSVhsv(224, 78%, 60%)
CMYKcmyk(77.8%, 56.9%, 0%, 40%)
CIE-LABlab(30.73, 20.92, -50.94)
CIE-LCHlch(30.73, 55.07, 292.33°)
OKLaboklab(41.04% -0.0125 -0.1469)
OKLCHoklch(41.04% 0.147 265.1)
XYZxyz(8.3556, 6.5355, 30.9519)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224299 #997922
analogous
#227E99 #224299 #3E2299
triadic
#224299 #992242 #429922
tetradic
#224299 #99227E #997922 #22993E
square
#224299 #99227E #997922 #22993E
split-complementary
#224299 #993E22 #7E9922
monochromatic
#0C1735 #172C67 #224299 #2D58CB #5B7DDB

Accessibility & contrast

On white

9.10
#224299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#224299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224299
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224299#FFFFFF#000000##FFFFFF
##2242991.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #224299;
/* rgb */ color: rgb(34, 66, 153);
/* oklch */ color: oklch(41.0% 0.147 265.1);
Tailwind
colors: {
  custom: {
    50: '#7075b8',
    500: '#224299',
    950: '#000000',
  },
}
SCSS
$custom: #224299;
$custom-light: #7075b8;
$custom-dark: #000000;
JSON
{
  "hex": "#224299",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 223.866,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41042,
    "c": 0.14748,
    "h": 265.1
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#224299
secondary
#BFA358
accent
#BA41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #224299

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

Preview Lab → · Contrast checker → · Palette generator →

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