#2247A5#2247A5

#2247A5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.158 H 264.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2247A5
RGBrgb(34, 71, 165)
HSLhsl(223, 66%, 39%)
HSVhsv(223, 79%, 65%)
CMYKcmyk(79.4%, 57%, 0%, 35.3%)
CIE-LABlab(33.05, 22.24, -54.41)
CIE-LCHlch(33.05, 58.78, 292.23°)
OKLaboklab(43.09% -0.0154 -0.157)
OKLCHoklch(43.09% 0.158 264.4)
XYZxyz(9.7020, 7.5620, 36.5383)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247A5 #A58022
analogous
#2289A5 #2247A5 #3E22A5
triadic
#2247A5 #A52247 #47A522
tetradic
#2247A5 #A52289 #A58022 #22A53E
square
#2247A5 #A52289 #A58022 #22A53E
split-complementary
#2247A5 #A53E22 #89A522
monochromatic
#0D1B40 #183172 #2247A5 #305ED4 #6386DF

Accessibility & contrast

On white

8.36
#2247A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2247A5
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247A5#FFFFFF#000000##FFFFFF
##2247A51.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2247a5;
/* rgb */ color: rgb(34, 71, 165);
/* oklch */ color: oklch(43.1% 0.158 264.4);
Tailwind
colors: {
  custom: {
    50: '#7379c0',
    500: '#2247a5',
    950: '#000000',
  },
}
SCSS
$custom: #2247a5;
$custom-light: #7379c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2247a5",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 223.053,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43092,
    "c": 0.1578,
    "h": 264.4
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#2247A5
secondary
#C4A75F
accent
#B93FE9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2247A5

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

Preview Lab → · Contrast checker → · Palette generator →

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