#2247A4#2247A4

#2247A4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.156 H 264.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2247A4
RGBrgb(34, 71, 164)
HSLhsl(223, 66%, 39%)
HSVhsv(223, 79%, 64%)
CMYKcmyk(79.3%, 56.7%, 0%, 35.7%)
CIE-LABlab(32.98, 21.84, -53.93)
CIE-LCHlch(32.98, 58.19, 292.05°)
OKLaboklab(43.01% -0.0155 -0.1557)
OKLCHoklch(43.01% 0.156 264.3)
XYZxyz(9.6114, 7.5258, 36.0608)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247A4 #A47F22
analogous
#2288A4 #2247A4 #3E22A4
triadic
#2247A4 #A42247 #47A422
tetradic
#2247A4 #A42288 #A47F22 #22A43E
square
#2247A4 #A42288 #A47F22 #22A43E
split-complementary
#2247A4 #A43E22 #88A422
monochromatic
#0D1B3F #173171 #2247A4 #2F5ED4 #6285DE

Accessibility & contrast

On white

8.38
#2247A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2247A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247A4
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247A4#FFFFFF#000000##FFFFFF
##2247A41.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2247a4;
/* rgb */ color: rgb(34, 71, 164);
/* oklch */ color: oklch(43.0% 0.156 264.3);
Tailwind
colors: {
  custom: {
    50: '#7279c0',
    500: '#2247a4',
    950: '#000000',
  },
}
SCSS
$custom: #2247a4;
$custom-light: #7279c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2247a4",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 222.923,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.15643,
    "h": 264.3
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#2247A4
secondary
#C4A75E
accent
#B83FE9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2247A4

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

Preview Lab → · Contrast checker → · Palette generator →

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