#2247A0#2247A0

#2247A0 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.151 H 264.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2247A0
RGBrgb(34, 71, 160)
HSLhsl(222, 65%, 38%)
HSVhsv(222, 79%, 63%)
CMYKcmyk(78.8%, 55.6%, 0%, 37.3%)
CIE-LABlab(32.66, 20.27, -52.03)
CIE-LCHlch(32.66, 55.84, 291.29°)
OKLaboklab(42.68% -0.0157 -0.1501)
OKLCHoklch(42.68% 0.151 264)
XYZxyz(9.2558, 7.3836, 34.1882)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247A0 #A07B22
analogous
#2286A0 #2247A0 #3C22A0
triadic
#2247A0 #A02247 #47A022
tetradic
#2247A0 #A02286 #A07B22 #22A03C
square
#2247A0 #A02286 #A07B22 #22A03C
split-complementary
#2247A0 #A03C22 #86A022
monochromatic
#0D1A3B #17316E #2247A0 #2D5DD2 #5F84DD

Accessibility & contrast

On white

8.48
#2247A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2247A0
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247A0#FFFFFF#000000##FFFFFF
##2247A01.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2247a0;
/* rgb */ color: rgb(34, 71, 160);
/* oklch */ color: oklch(42.7% 0.151 264.0);
Tailwind
colors: {
  custom: {
    50: '#7179bd',
    500: '#2247a0',
    950: '#000000',
  },
}
SCSS
$custom: #2247a0;
$custom-light: #7179bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2247a0",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 160
  },
  "hsl": {
    "h": 222.381,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.15089,
    "h": 264
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2247A0

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

Preview Lab → · Contrast checker → · Palette generator →

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