#2947AF#2947AF

#2947AF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.170 H 266.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2947AF
RGBrgb(41, 71, 175)
HSLhsl(227, 62%, 42%)
HSVhsv(227, 77%, 69%)
CMYKcmyk(76.6%, 59.4%, 0%, 31.4%)
CIE-LABlab(34.13, 26.86, -58.61)
CIE-LCHlch(34.13, 64.47, 294.62°)
OKLaboklab(44.23% -0.0094 -0.1693)
OKLCHoklch(44.23% 0.17 266.8)
XYZxyz(10.9028, 8.0718, 41.5325)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2947AF #AF9129
analogous
#298AAF #2947AF #4E29AF
triadic
#2947AF #AF2947 #47AF29
tetradic
#2947AF #AF298A #AF9129 #29AF4E
square
#2947AF #AF298A #AF9129 #29AF4E
split-complementary
#2947AF #AF4E29 #8AAF29
monochromatic
#121F4C #1D337D #2947AF #4263D3 #748CDE

Accessibility & contrast

On white

8.03
#2947AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2947AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2947AF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2947AF#FFFFFF#000000##FFFFFF
##2947AF1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2947af;
/* rgb */ color: rgb(41, 71, 175);
/* oklch */ color: oklch(44.2% 0.170 266.8);
Tailwind
colors: {
  custom: {
    50: '#7779c8',
    500: '#2947af',
    950: '#000000',
  },
}
SCSS
$custom: #2947af;
$custom-light: #7779c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2947af",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 226.567,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.16953,
    "h": 266.8
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#2947AF
secondary
#C6B26E
accent
#C143E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2947AF

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

Preview Lab → · Contrast checker → · Palette generator →

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