#2F47B0#2F47B0

#2F47B0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.169 H 268.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2F47B0
RGBrgb(47, 71, 176)
HSLhsl(229, 58%, 44%)
HSVhsv(229, 73%, 69%)
CMYKcmyk(73.3%, 59.7%, 0%, 31%)
CIE-LABlab(34.49, 27.95, -58.62)
CIE-LCHlch(34.49, 64.94, 295.49°)
OKLaboklab(44.59% -0.004 -0.1692)
OKLCHoklch(44.59% 0.169 268.7)
XYZxyz(11.2593, 8.2442, 42.0638)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F47B0 #B0982F
analogous
#2F87B0 #2F47B0 #572FB0
triadic
#2F47B0 #B02F47 #47B02F
tetradic
#2F47B0 #B02F87 #B0982F #2FB057
square
#2F47B0 #B02F87 #B0982F #2FB057
split-complementary
#2F47B0 #B0572F #87B02F
monochromatic
#15204F #223480 #2F47B0 #4D65CF #7D8FDC

Accessibility & contrast

On white

7.93
#2F47B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2F47B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F47B0
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F47B0#FFFFFF#000000##FFFFFF
##2F47B01.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f47b0;
/* rgb */ color: rgb(47, 71, 176);
/* oklch */ color: oklch(44.6% 0.169 268.7);
Tailwind
colors: {
  custom: {
    50: '#7a7ac8',
    500: '#2f47b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f47b0;
$custom-light: #7a7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f47b0",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 176
  },
  "hsl": {
    "h": 228.837,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44594,
    "c": 0.16922,
    "h": 268.7
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#2F47B0
secondary
#C5B676
accent
#C447E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2F47B0

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

Preview Lab → · Contrast checker → · Palette generator →

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