#2F47C9#2F47C9

#2F47C9 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 46.8% C 0.202 H 268.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2F47C9
RGBrgb(47, 71, 201)
HSLhsl(231, 62%, 49%)
HSVhsv(231, 77%, 79%)
CMYKcmyk(76.6%, 64.7%, 0%, 21.2%)
CIE-LABlab(36.61, 37.09, -69.84)
CIE-LCHlch(36.61, 79.08, 297.97°)
OKLaboklab(46.81% -0.0045 -0.2021)
OKLCHoklch(46.81% 0.202 268.7)
XYZxyz(13.9645, 9.3263, 56.3112)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F47C9 #C9B12F
analogous
#2F94C9 #2F47C9 #642FC9
triadic
#2F47C9 #C92F47 #47C92F
tetradic
#2F47C9 #C92F94 #C9B12F #2FC964
square
#2F47C9 #C92F94 #C9B12F #2FC964
split-complementary
#2F47C9 #C9642F #94C92F
monochromatic
#182466 #233597 #2F47C9 #5C70D9 #8E9BE5

Accessibility & contrast

On white

7.33
#2F47C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2F47C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F47C9
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F47C9#FFFFFF#000000##FFFFFF
##2F47C91.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f47c9;
/* rgb */ color: rgb(47, 71, 201);
/* oklch */ color: oklch(46.8% 0.202 268.7);
Tailwind
colors: {
  custom: {
    50: '#807adb',
    500: '#2f47c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f47c9;
$custom-light: #807adb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f47c9",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 201
  },
  "hsl": {
    "h": 230.649,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46814,
    "c": 0.20211,
    "h": 268.7
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#2F47C9
secondary
#CFC385
accent
#CC43E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2F47C9

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

Preview Lab → · Contrast checker → · Palette generator →

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