#2247A7#2247A7

#2247A7 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.161 H 264.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2247A7
RGBrgb(34, 71, 167)
HSLhsl(223, 66%, 39%)
HSVhsv(223, 80%, 65%)
CMYKcmyk(79.6%, 57.5%, 0%, 34.5%)
CIE-LABlab(33.21, 23.02, -55.35)
CIE-LCHlch(33.21, 59.94, 292.58°)
OKLaboklab(43.26% -0.0153 -0.1598)
OKLCHoklch(43.26% 0.161 264.5)
XYZxyz(9.8855, 7.6354, 37.5045)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247A7 #A78222
analogous
#228AA7 #2247A7 #3F22A7
triadic
#2247A7 #A72247 #47A722
tetradic
#2247A7 #A7228A #A78222 #22A73F
square
#2247A7 #A7228A #A78222 #22A73F
split-complementary
#2247A7 #A73F22 #8AA722
monochromatic
#0D1C41 #183174 #2247A7 #315FD5 #6486DF

Accessibility & contrast

On white

8.31
#2247A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2247A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247A7
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247A7#FFFFFF#000000##FFFFFF
##2247A71.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2247a7;
/* rgb */ color: rgb(34, 71, 167);
/* oklch */ color: oklch(43.3% 0.161 264.5);
Tailwind
colors: {
  custom: {
    50: '#7379c2',
    500: '#2247a7',
    950: '#000000',
  },
}
SCSS
$custom: #2247a7;
$custom-light: #7379c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2247a7",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 223.308,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.16054,
    "h": 264.5
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#2247A7
secondary
#C5A960
accent
#BA3FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2247A7

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

Preview Lab → · Contrast checker → · Palette generator →

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