#2F47BC#2F47BC

#2F47BC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.185 H 268.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2F47BC
RGBrgb(47, 71, 188)
HSLhsl(230, 60%, 46%)
HSVhsv(230, 75%, 74%)
CMYKcmyk(75%, 62.2%, 0%, 26.3%)
CIE-LABlab(35.48, 32.37, -64.08)
CIE-LCHlch(35.48, 71.80, 296.80°)
OKLaboklab(45.64% -0.004 -0.1852)
OKLCHoklch(45.64% 0.185 268.8)
XYZxyz(12.4995, 8.7403, 48.5955)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F47BC #BCA42F
analogous
#2F8DBC #2F47BC #5D2FBC
triadic
#2F47BC #BC2F47 #47BC2F
tetradic
#2F47BC #BC2F8D #BCA42F #2FBC5D
square
#2F47BC #BC2F8D #BCA42F #2FBC5D
split-complementary
#2F47BC #BC5D2F #8DBC2F
monochromatic
#17225A #23358B #2F47BC #546AD4 #8595E0

Accessibility & contrast

On white

7.64
#2F47BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2F47BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F47BC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F47BC#FFFFFF#000000##FFFFFF
##2F47BC1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f47bc;
/* rgb */ color: rgb(47, 71, 188);
/* oklch */ color: oklch(45.6% 0.185 268.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ad1',
    500: '#2f47bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f47bc;
$custom-light: #7d7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f47bc",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 229.787,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45639,
    "c": 0.18525,
    "h": 268.8
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#2F47BC
secondary
#CABD7D
accent
#C845E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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