#2F50BE#2F50BE

#2F50BE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.177 H 266.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2F50BE
RGBrgb(47, 80, 190)
HSLhsl(226, 60%, 46%)
HSVhsv(226, 75%, 75%)
CMYKcmyk(75.3%, 57.9%, 0%, 25.5%)
CIE-LABlab(37.95, 27.26, -61.23)
CIE-LCHlch(37.95, 67.03, 294.00°)
OKLaboklab(47.53% -0.0101 -0.1767)
OKLCHoklch(47.53% 0.177 266.7)
XYZxyz(13.3320, 10.0579, 49.9440)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F50BE #BE9D2F
analogous
#2F98BE #2F50BE #562FBE
triadic
#2F50BE #BE2F50 #50BE2F
tetradic
#2F50BE #BE2F98 #BE9D2F #2FBE56
square
#2F50BE #BE2F98 #BE9D2F #2FBE56
split-complementary
#2F50BE #BE562F #98BE2F
monochromatic
#17275C #233B8D #2F50BE #5573D5 #869BE1

Accessibility & contrast

On white

6.97
#2F50BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2F50BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F50BE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F50BE#FFFFFF#000000##FFFFFF
##2F50BE1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f50be;
/* rgb */ color: rgb(47, 80, 190);
/* oklch */ color: oklch(47.5% 0.177 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c80d2',
    500: '#2f50be',
    950: '#000000',
  },
}
SCSS
$custom: #2f50be;
$custom-light: #7c80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f50be",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 190
  },
  "hsl": {
    "h": 226.154,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.17702,
    "h": 266.7
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#2F50BE
secondary
#CBB97E
accent
#BF44E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F50BE

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

Preview Lab → · Contrast checker → · Palette generator →

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