#2247A9#2247A9

#2247A9 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.163 H 264.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2247A9
RGBrgb(34, 71, 169)
HSLhsl(224, 67%, 40%)
HSVhsv(224, 80%, 66%)
CMYKcmyk(79.9%, 58%, 0%, 33.7%)
CIE-LABlab(33.37, 23.80, -56.29)
CIE-LCHlch(33.37, 61.11, 292.92°)
OKLaboklab(43.43% -0.0152 -0.1626)
OKLCHoklch(43.43% 0.163 264.7)
XYZxyz(10.0718, 7.7100, 38.4858)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247A9 #A98422
analogous
#228AA9 #2247A9 #4122A9
triadic
#2247A9 #A92247 #47A922
tetradic
#2247A9 #A9228A #A98422 #22A941
square
#2247A9 #A9228A #A98422 #22A941
split-complementary
#2247A9 #A94122 #8AA922
monochromatic
#0D1C43 #183276 #2247A9 #325FD6 #6587E0

Accessibility & contrast

On white

8.26
#2247A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2247A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247A9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247A9#FFFFFF#000000##FFFFFF
##2247A91.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2247a9;
/* rgb */ color: rgb(34, 71, 169);
/* oklch */ color: oklch(43.4% 0.163 264.7);
Tailwind
colors: {
  custom: {
    50: '#7479c3',
    500: '#2247a9',
    950: '#000000',
  },
}
SCSS
$custom: #2247a9;
$custom-light: #7479c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2247a9",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 169
  },
  "hsl": {
    "h": 223.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43431,
    "c": 0.16328,
    "h": 264.7
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#2247A9
secondary
#C5AA61
accent
#BB3EE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2247A9

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

Preview Lab → · Contrast checker → · Palette generator →

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