#2F47BF#2F47BF

#2F47BF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.189 H 268.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2F47BF
RGBrgb(47, 71, 191)
HSLhsl(230, 61%, 47%)
HSVhsv(230, 75%, 75%)
CMYKcmyk(75.4%, 62.8%, 0%, 25.1%)
CIE-LABlab(35.73, 33.47, -65.43)
CIE-LCHlch(35.73, 73.49, 297.09°)
OKLaboklab(45.91% -0.0041 -0.1892)
OKLCHoklch(45.91% 0.189 268.8)
XYZxyz(12.8263, 8.8710, 50.3164)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F47BF #BFA72F
analogous
#2F8FBF #2F47BF #5F2FBF
triadic
#2F47BF #BF2F47 #47BF2F
tetradic
#2F47BF #BF2F8F #BFA72F #2FBF5F
square
#2F47BF #BF2F8F #BFA72F #2FBF5F
split-complementary
#2F47BF #BF5F2F #8FBF2F
monochromatic
#17225D #23358E #2F47BF #566BD5 #8796E1

Accessibility & contrast

On white

7.57
#2F47BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2F47BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F47BF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F47BF#FFFFFF#000000##FFFFFF
##2F47BF1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f47bf;
/* rgb */ color: rgb(47, 71, 191);
/* oklch */ color: oklch(45.9% 0.189 268.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ad3',
    500: '#2f47bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f47bf;
$custom-light: #7d7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f47bf",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 230,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45906,
    "c": 0.18919,
    "h": 268.8
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#2F47BF
secondary
#CBBE7F
accent
#C944E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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