#2247A1#2247A1

#2247A1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.152 H 264.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2247A1
RGBrgb(34, 71, 161)
HSLhsl(223, 65%, 38%)
HSVhsv(223, 79%, 63%)
CMYKcmyk(78.9%, 55.9%, 0%, 36.9%)
CIE-LABlab(32.74, 20.67, -52.51)
CIE-LCHlch(32.74, 56.43, 291.49°)
OKLaboklab(42.76% -0.0157 -0.1515)
OKLCHoklch(42.76% 0.152 264.1)
XYZxyz(9.3437, 7.4187, 34.6508)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247A1 #A17C22
analogous
#2286A1 #2247A1 #3D22A1
triadic
#2247A1 #A12247 #47A122
tetradic
#2247A1 #A12286 #A17C22 #22A13D
square
#2247A1 #A12286 #A17C22 #22A13D
split-complementary
#2247A1 #A13D22 #86A122
monochromatic
#0D1A3C #17316E #2247A1 #2D5ED3 #6085DD

Accessibility & contrast

On white

8.45
#2247A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2247A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247A1
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247A1#FFFFFF#000000##FFFFFF
##2247A11.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2247a1;
/* rgb */ color: rgb(34, 71, 161);
/* oklch */ color: oklch(42.8% 0.152 264.1);
Tailwind
colors: {
  custom: {
    50: '#7279be',
    500: '#2247a1',
    950: '#000000',
  },
}
SCSS
$custom: #2247a1;
$custom-light: #7279be;
$custom-dark: #000000;
JSON
{
  "hex": "#2247a1",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 222.52,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.15228,
    "h": 264.1
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#2247A1
secondary
#C2A55D
accent
#B740E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2247A1

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

Preview Lab → · Contrast checker → · Palette generator →

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