#2947A8#2947A8

#2947A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.160 H 266.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2947A8
RGBrgb(41, 71, 168)
HSLhsl(226, 61%, 41%)
HSVhsv(226, 76%, 66%)
CMYKcmyk(75.6%, 57.7%, 0%, 34.1%)
CIE-LABlab(33.57, 24.19, -55.35)
CIE-LCHlch(33.57, 60.41, 293.61°)
OKLaboklab(43.63% -0.0096 -0.1597)
OKLCHoklch(43.63% 0.16 266.6)
XYZxyz(10.2331, 7.8039, 38.0052)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947A8 #A88A29
analogous
#2986A8 #2947A8 #4A29A8
triadic
#2947A8 #A82947 #47A829
tetradic
#2947A8 #A82986 #A88A29 #29A84A
square
#2947A8 #A82986 #A88A29 #29A84A
split-complementary
#2947A8 #A84A29 #86A829
monochromatic
#111D46 #1D3277 #2947A8 #3E61D0 #6F89DC

Accessibility & contrast

On white

8.20
#2947A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2947A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2947A8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947A8#FFFFFF#000000##FFFFFF
##2947A81.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2947a8;
/* rgb */ color: rgb(41, 71, 168);
/* oklch */ color: oklch(43.6% 0.160 266.6);
Tailwind
colors: {
  custom: {
    50: '#7679c3',
    500: '#2947a8',
    950: '#000000',
  },
}
SCSS
$custom: #2947a8;
$custom-light: #7679c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2947a8",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 225.827,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43634,
    "c": 0.15998,
    "h": 266.6
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#2947A8
secondary
#C3AE6A
accent
#BE44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2947A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2947A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva