#2247B4#2247B4

#2247B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.178 H 265.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2247B4
RGBrgb(34, 71, 180)
HSLhsl(225, 68%, 42%)
HSVhsv(225, 81%, 71%)
CMYKcmyk(81.1%, 60.6%, 0%, 29.4%)
CIE-LABlab(34.27, 28.05, -61.36)
CIE-LCHlch(34.27, 67.47, 294.57°)
OKLaboklab(44.39% -0.0148 -0.1774)
OKLCHoklch(44.39% 0.178 265.2)
XYZxyz(11.1482, 8.1405, 44.1549)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247B4 #B48F22
analogous
#2290B4 #2247B4 #4622B4
triadic
#2247B4 #B42247 #47B422
tetradic
#2247B4 #B42290 #B48F22 #22B446
square
#2247B4 #B42290 #B48F22 #22B446
split-complementary
#2247B4 #B44622 #90B422
monochromatic
#0F1E4D #183381 #2247B4 #3A62DA #6D8BE3

Accessibility & contrast

On white

7.99
#2247B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2247B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247B4
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247B4#FFFFFF#000000##FFFFFF
##2247B41.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2247b4;
/* rgb */ color: rgb(34, 71, 180);
/* oklch */ color: oklch(44.4% 0.178 265.2);
Tailwind
colors: {
  custom: {
    50: '#7679cb',
    500: '#2247b4',
    950: '#000000',
  },
}
SCSS
$custom: #2247b4;
$custom-light: #7679cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2247b4",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 224.795,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.17806,
    "h": 265.2
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2247B4

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

Preview Lab → · Contrast checker → · Palette generator →

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