#2247AC#2247AC

#2247AC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.167 H 264.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2247AC
RGBrgb(34, 71, 172)
HSLhsl(224, 67%, 40%)
HSVhsv(224, 80%, 67%)
CMYKcmyk(80.2%, 58.7%, 0%, 32.5%)
CIE-LABlab(33.61, 24.97, -57.68)
CIE-LCHlch(33.61, 62.85, 293.40°)
OKLaboklab(43.69% -0.015 -0.1667)
OKLCHoklch(43.69% 0.167 264.9)
XYZxyz(10.3567, 7.8239, 39.9860)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247AC #AC8722
analogous
#228CAC #2247AC #4222AC
triadic
#2247AC #AC2247 #47AC22
tetradic
#2247AC #AC228C #AC8722 #22AC42
square
#2247AC #AC228C #AC8722 #22AC42
split-complementary
#2247AC #AC4222 #8CAC22
monochromatic
#0E1D46 #183279 #2247AC #3460D7 #6788E1

Accessibility & contrast

On white

8.19
#2247AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2247AC
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247AC#FFFFFF#000000##FFFFFF
##2247AC1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2247ac;
/* rgb */ color: rgb(34, 71, 172);
/* oklch */ color: oklch(43.7% 0.167 264.9);
Tailwind
colors: {
  custom: {
    50: '#7479c6',
    500: '#2247ac',
    950: '#000000',
  },
}
SCSS
$custom: #2247ac;
$custom-light: #7479c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2247ac",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 223.913,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43688,
    "c": 0.16735,
    "h": 264.9
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2247AC

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

Preview Lab → · Contrast checker → · Palette generator →

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