#2247AE#2247AE

#2247AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.170 H 265.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2247AE
RGBrgb(34, 71, 174)
HSLhsl(224, 67%, 41%)
HSVhsv(224, 80%, 68%)
CMYKcmyk(80.5%, 59.2%, 0%, 31.8%)
CIE-LABlab(33.78, 25.74, -58.61)
CIE-LCHlch(33.78, 64.01, 293.71°)
OKLaboklab(43.86% -0.0149 -0.1694)
OKLCHoklch(43.86% 0.17 265)
XYZxyz(10.5502, 7.9013, 41.0053)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247AE #AE8922
analogous
#228DAE #2247AE #4322AE
triadic
#2247AE #AE2247 #47AE22
tetradic
#2247AE #AE228D #AE8922 #22AE43
square
#2247AE #AE228D #AE8922 #22AE43
split-complementary
#2247AE #AE4322 #8DAE22
monochromatic
#0E1D48 #18327B #2247AE #3660D8 #6989E2

Accessibility & contrast

On white

8.14
#2247AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2247AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247AE
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247AE#FFFFFF#000000##FFFFFF
##2247AE1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2247ae;
/* rgb */ color: rgb(34, 71, 174);
/* oklch */ color: oklch(43.9% 0.170 265.0);
Tailwind
colors: {
  custom: {
    50: '#7579c7',
    500: '#2247ae',
    950: '#000000',
  },
}
SCSS
$custom: #2247ae;
$custom-light: #7579c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2247ae",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 224.143,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43861,
    "c": 0.17005,
    "h": 265
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#2247AE
secondary
#C7AD64
accent
#BD3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2247AE

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

Preview Lab → · Contrast checker → · Palette generator →

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