#2247B1#2247B1

#2247B1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.174 H 265.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2247B1
RGBrgb(34, 71, 177)
HSLhsl(224, 68%, 41%)
HSVhsv(224, 81%, 69%)
CMYKcmyk(80.8%, 59.9%, 0%, 30.6%)
CIE-LABlab(34.02, 26.90, -59.99)
CIE-LCHlch(34.02, 65.74, 294.15°)
OKLaboklab(44.12% -0.0148 -0.1734)
OKLCHoklch(44.12% 0.174 265.1)
XYZxyz(10.8459, 8.0196, 42.5628)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247B1 #B18C22
analogous
#228FB1 #2247B1 #4522B1
triadic
#2247B1 #B12247 #47B122
tetradic
#2247B1 #B1228F #B18C22 #22B145
square
#2247B1 #B1228F #B18C22 #22B145
split-complementary
#2247B1 #B14522 #8FB122
monochromatic
#0E1E4A #18327E #2247B1 #3861D9 #6B8AE3

Accessibility & contrast

On white

8.06
#2247B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2247B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247B1
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247B1#FFFFFF#000000##FFFFFF
##2247B11.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2247b1;
/* rgb */ color: rgb(34, 71, 177);
/* oklch */ color: oklch(44.1% 0.174 265.1);
Tailwind
colors: {
  custom: {
    50: '#7679c9',
    500: '#2247b1',
    950: '#000000',
  },
}
SCSS
$custom: #2247b1;
$custom-light: #7679c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2247b1",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 224.476,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44123,
    "c": 0.17406,
    "h": 265.1
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#2247B1
secondary
#C9AF66
accent
#BE3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2247B1

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

Preview Lab → · Contrast checker → · Palette generator →

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