#2F50C3#2F50C3

#2F50C3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.184 H 266.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2F50C3
RGBrgb(47, 80, 195)
HSLhsl(227, 61%, 47%)
HSVhsv(227, 76%, 76%)
CMYKcmyk(75.9%, 59%, 0%, 23.5%)
CIE-LABlab(38.34, 29.12, -63.51)
CIE-LCHlch(38.34, 69.87, 294.64°)
OKLaboklab(47.94% -0.01 -0.1834)
OKLCHoklch(47.94% 0.184 266.9)
XYZxyz(13.8878, 10.2802, 52.8715)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F50C3 #C3A22F
analogous
#2F9AC3 #2F50C3 #582FC3
triadic
#2F50C3 #C32F50 #50C32F
tetradic
#2F50C3 #C32F9A #C3A22F #2FC358
square
#2F50C3 #C32F9A #C3A22F #2FC358
split-complementary
#2F50C3 #C3582F #9AC32F
monochromatic
#172860 #233C92 #2F50C3 #5875D7 #8A9EE3

Accessibility & contrast

On white

6.87
#2F50C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2F50C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F50C3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F50C3#FFFFFF#000000##FFFFFF
##2F50C31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f50c3;
/* rgb */ color: rgb(47, 80, 195);
/* oklch */ color: oklch(47.9% 0.184 266.9);
Tailwind
colors: {
  custom: {
    50: '#7d80d6',
    500: '#2f50c3',
    950: '#000000',
  },
}
SCSS
$custom: #2f50c3;
$custom-light: #7d80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f50c3",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 195
  },
  "hsl": {
    "h": 226.622,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.18368,
    "h": 266.9
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#2F50C3
secondary
#CDBC81
accent
#C044E4
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F50C3

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

Preview Lab → · Contrast checker → · Palette generator →

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