#2247A6#2247A6

#2247A6 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.159 H 264.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2247A6
RGBrgb(34, 71, 166)
HSLhsl(223, 66%, 39%)
HSVhsv(223, 80%, 65%)
CMYKcmyk(79.5%, 57.2%, 0%, 34.9%)
CIE-LABlab(33.13, 22.63, -54.88)
CIE-LCHlch(33.13, 59.36, 292.41°)
OKLaboklab(43.18% -0.0153 -0.1584)
OKLCHoklch(43.18% 0.159 264.5)
XYZxyz(9.7934, 7.5986, 37.0195)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247A6 #A68122
analogous
#2289A6 #2247A6 #3F22A6
triadic
#2247A6 #A62247 #47A622
tetradic
#2247A6 #A62289 #A68122 #22A63F
square
#2247A6 #A62289 #A68122 #22A63F
split-complementary
#2247A6 #A63F22 #89A622
monochromatic
#0D1C40 #183173 #2247A6 #305FD5 #6386DF

Accessibility & contrast

On white

8.33
#2247A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2247A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247A6
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247A6#FFFFFF#000000##FFFFFF
##2247A61.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2247a6;
/* rgb */ color: rgb(34, 71, 166);
/* oklch */ color: oklch(43.2% 0.159 264.5);
Tailwind
colors: {
  custom: {
    50: '#7379c1',
    500: '#2247a6',
    950: '#000000',
  },
}
SCSS
$custom: #2247a6;
$custom-light: #7379c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2247a6",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 223.182,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43177,
    "c": 0.15917,
    "h": 264.5
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#2247A6
secondary
#C4A85F
accent
#B93FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2247A6

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

Preview Lab → · Contrast checker → · Palette generator →

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