#2247AD#2247AD

#2247AD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.169 H 264.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2247AD
RGBrgb(34, 71, 173)
HSLhsl(224, 67%, 41%)
HSVhsv(224, 80%, 68%)
CMYKcmyk(80.3%, 59%, 0%, 32.2%)
CIE-LABlab(33.69, 25.35, -58.15)
CIE-LCHlch(33.69, 63.43, 293.56°)
OKLaboklab(43.78% -0.015 -0.168)
OKLCHoklch(43.78% 0.169 264.9)
XYZxyz(10.4531, 7.8625, 40.4937)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247AD #AD8822
analogous
#228CAD #2247AD #4222AD
triadic
#2247AD #AD2247 #47AD22
tetradic
#2247AD #AD228C #AD8822 #22AD42
square
#2247AD #AD228C #AD8822 #22AD42
split-complementary
#2247AD #AD4222 #8CAD22
monochromatic
#0E1D47 #18327A #2247AD #3560D7 #6888E1

Accessibility & contrast

On white

8.16
#2247AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2247AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247AD
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247AD#FFFFFF#000000##FFFFFF
##2247AD1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2247ad;
/* rgb */ color: rgb(34, 71, 173);
/* oklch */ color: oklch(43.8% 0.169 264.9);
Tailwind
colors: {
  custom: {
    50: '#7579c6',
    500: '#2247ad',
    950: '#000000',
  },
}
SCSS
$custom: #2247ad;
$custom-light: #7579c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2247ad",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 224.029,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.1687,
    "h": 264.9
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#2247AD
secondary
#C7AD64
accent
#BC3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2247AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2247AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva