#2247A3#2247A3

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

Color values

HEX#2247A3
RGBrgb(34, 71, 163)
HSLhsl(223, 65%, 39%)
HSVhsv(223, 79%, 64%)
CMYKcmyk(79.1%, 56.4%, 0%, 36.1%)
CIE-LABlab(32.90, 21.45, -53.46)
CIE-LCHlch(32.90, 57.60, 291.86°)
OKLaboklab(42.93% -0.0155 -0.1543)
OKLCHoklch(42.93% 0.155 264.3)
XYZxyz(9.5214, 7.4898, 35.5871)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247A3 #A37E22
analogous
#2287A3 #2247A3 #3E22A3
triadic
#2247A3 #A32247 #47A322
tetradic
#2247A3 #A32287 #A37E22 #22A33E
square
#2247A3 #A32287 #A37E22 #22A33E
split-complementary
#2247A3 #A33E22 #87A322
monochromatic
#0D1B3E #173170 #2247A3 #2F5ED4 #6185DE

Accessibility & contrast

On white

8.41
#2247A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2247A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247A3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247A3#FFFFFF#000000##FFFFFF
##2247A31.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2247a3;
/* rgb */ color: rgb(34, 71, 163);
/* oklch */ color: oklch(42.9% 0.155 264.3);
Tailwind
colors: {
  custom: {
    50: '#7279bf',
    500: '#2247a3',
    950: '#000000',
  },
}
SCSS
$custom: #2247a3;
$custom-light: #7279bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2247a3",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 222.791,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42925,
    "c": 0.15505,
    "h": 264.3
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#2247A3
secondary
#C3A65E
accent
#B83FE8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2247A3

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

Preview Lab → · Contrast checker → · Palette generator →

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