#224099#224099

#224099 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.150 H 265.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#224099
RGBrgb(34, 64, 153)
HSLhsl(225, 64%, 37%)
HSVhsv(225, 78%, 60%)
CMYKcmyk(77.8%, 58.2%, 0%, 40%)
CIE-LABlab(30.17, 22.28, -51.84)
CIE-LCHlch(30.17, 56.43, 293.26°)
OKLaboklab(40.63% -0.0111 -0.1496)
OKLCHoklch(40.63% 0.15 265.8)
XYZxyz(8.2408, 6.3059, 30.9136)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224099 #997B22
analogous
#227C99 #224099 #402299
triadic
#224099 #992240 #409922
tetradic
#224099 #99227C #997B22 #229940
square
#224099 #99227C #997B22 #229940
split-complementary
#224099 #994022 #7C9922
monochromatic
#0C1635 #172B67 #224099 #2D55CB #5B7BDB

Accessibility & contrast

On white

9.29
#224099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224099
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224099#FFFFFF#000000##FFFFFF
##2240991.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #224099;
/* rgb */ color: rgb(34, 64, 153);
/* oklch */ color: oklch(40.6% 0.150 265.8);
Tailwind
colors: {
  custom: {
    50: '#7074b8',
    500: '#224099',
    950: '#000000',
  },
}
SCSS
$custom: #224099;
$custom-light: #7074b8;
$custom-dark: #000000;
JSON
{
  "hex": "#224099",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 224.874,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40625,
    "c": 0.15004,
    "h": 265.8
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#224099
secondary
#BFA558
accent
#BD41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #224099

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

Preview Lab → · Contrast checker → · Palette generator →

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