#2F50BC#2F50BC

#2F50BC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.174 H 266.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2F50BC
RGBrgb(47, 80, 188)
HSLhsl(226, 60%, 46%)
HSVhsv(226, 75%, 74%)
CMYKcmyk(75%, 57.4%, 0%, 26.3%)
CIE-LABlab(37.79, 26.52, -60.31)
CIE-LCHlch(37.79, 65.89, 293.73°)
OKLaboklab(47.36% -0.0102 -0.174)
OKLCHoklch(47.36% 0.174 266.6)
XYZxyz(13.1149, 9.9711, 48.8006)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F50BC #BC9B2F
analogous
#2F96BC #2F50BC #542FBC
triadic
#2F50BC #BC2F50 #50BC2F
tetradic
#2F50BC #BC2F96 #BC9B2F #2FBC54
square
#2F50BC #BC2F96 #BC9B2F #2FBC54
split-complementary
#2F50BC #BC542F #96BC2F
monochromatic
#17265A #233B8B #2F50BC #5472D4 #859AE0

Accessibility & contrast

On white

7.01
#2F50BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2F50BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F50BC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F50BC#FFFFFF#000000##FFFFFF
##2F50BC1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f50bc;
/* rgb */ color: rgb(47, 80, 188);
/* oklch */ color: oklch(47.4% 0.174 266.6);
Tailwind
colors: {
  custom: {
    50: '#7c80d1',
    500: '#2f50bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f50bc;
$custom-light: #7c80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f50bc",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 225.957,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.17433,
    "h": 266.6
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#2F50BC
secondary
#CAB87D
accent
#BE45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2F50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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