#224EA6#224EA6

#224EA6 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.150 H 262.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#224EA6
RGBrgb(34, 78, 166)
HSLhsl(220, 66%, 39%)
HSVhsv(220, 80%, 65%)
CMYKcmyk(79.5%, 53%, 0%, 34.9%)
CIE-LABlab(35.08, 17.91, -51.71)
CIE-LCHlch(35.08, 54.72, 289.11°)
OKLaboklab(44.65% -0.0204 -0.149)
OKLCHoklch(44.65% 0.15 262.2)
XYZxyz(10.2645, 8.5408, 37.1766)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224EA6 #A67A22
analogous
#2290A6 #224EA6 #3822A6
triadic
#224EA6 #A6224E #4EA622
tetradic
#224EA6 #A62290 #A67A22 #22A638
square
#224EA6 #A62290 #A67A22 #22A638
split-complementary
#224EA6 #A63822 #90A622
monochromatic
#0D1E40 #183673 #224EA6 #3067D5 #638DDF

Accessibility & contrast

On white

7.75
#224EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#224EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224EA6
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224EA6#FFFFFF#000000##FFFFFF
##224EA61.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E59A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #224ea6;
/* rgb */ color: rgb(34, 78, 166);
/* oklch */ color: oklch(44.7% 0.150 262.2);
Tailwind
colors: {
  custom: {
    50: '#727ec1',
    500: '#224ea6',
    950: '#000000',
  },
}
SCSS
$custom: #224ea6;
$custom-light: #727ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#224ea6",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 220,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44654,
    "c": 0.15038,
    "h": 262.2
  },
  "luminance": 0.08542
}

Semantic roles & 50–950 ramp

primary
#224EA6
secondary
#C4A35F
accent
#B03FE9
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #224EA6

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

Preview Lab → · Contrast checker → · Palette generator →

#224EA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva