#2F47AE#2F47AE

#2F47AE is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.167 H 268.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2F47AE
RGBrgb(47, 71, 174)
HSLhsl(229, 57%, 43%)
HSVhsv(229, 73%, 68%)
CMYKcmyk(73%, 59.2%, 0%, 31.8%)
CIE-LABlab(34.33, 27.20, -57.69)
CIE-LCHlch(34.33, 63.78, 295.25°)
OKLaboklab(44.42% -0.004 -0.1664)
OKLCHoklch(44.42% 0.167 268.6)
XYZxyz(11.0629, 8.1657, 41.0293)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F47AE #AE962F
analogous
#2F86AE #2F47AE #562FAE
triadic
#2F47AE #AE2F47 #47AE2F
tetradic
#2F47AE #AE2F86 #AE962F #2FAE56
square
#2F47AE #AE2F86 #AE962F #2FAE56
split-complementary
#2F47AE #AE562F #86AE2F
monochromatic
#15204E #22337E #2F47AE #4C64CF #7C8EDC

Accessibility & contrast

On white

7.97
#2F47AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2F47AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F47AE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F47AE#FFFFFF#000000##FFFFFF
##2F47AE1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f47ae;
/* rgb */ color: rgb(47, 71, 174);
/* oklch */ color: oklch(44.4% 0.167 268.6);
Tailwind
colors: {
  custom: {
    50: '#7979c7',
    500: '#2f47ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f47ae;
$custom-light: #7979c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f47ae",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 228.661,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44423,
    "c": 0.1665,
    "h": 268.6
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#2F47AE
secondary
#C4B575
accent
#C447E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F47AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2F47AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva