#2247B5#2247B5

#2247B5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.179 H 265.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2247B5
RGBrgb(34, 71, 181)
HSLhsl(225, 68%, 42%)
HSVhsv(225, 81%, 71%)
CMYKcmyk(81.2%, 60.8%, 0%, 29%)
CIE-LABlab(34.36, 28.44, -61.81)
CIE-LCHlch(34.36, 68.04, 294.71°)
OKLaboklab(44.48% -0.0147 -0.1788)
OKLCHoklch(44.48% 0.179 265.3)
XYZxyz(11.2505, 8.1814, 44.6933)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247B5 #B59022
analogous
#2291B5 #2247B5 #4722B5
triadic
#2247B5 #B52247 #47B522
tetradic
#2247B5 #B52291 #B59022 #22B547
square
#2247B5 #B52291 #B59022 #22B547
split-complementary
#2247B5 #B54722 #91B522
monochromatic
#0F1F4E #183381 #2247B5 #3A62DA #6E8BE4

Accessibility & contrast

On white

7.96
#2247B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2247B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247B5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247B5#FFFFFF#000000##FFFFFF
##2247B51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2247b5;
/* rgb */ color: rgb(34, 71, 181);
/* oklch */ color: oklch(44.5% 0.179 265.3);
Tailwind
colors: {
  custom: {
    50: '#7779cc',
    500: '#2247b5',
    950: '#000000',
  },
}
SCSS
$custom: #2247b5;
$custom-light: #7779cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2247b5",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 224.898,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.17939,
    "h": 265.3
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#2247B5
secondary
#CAB269
accent
#BF3DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2247B5

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

Preview Lab → · Contrast checker → · Palette generator →

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