#2F50BD#2F50BD

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

Color values

HEX#2F50BD
RGBrgb(47, 80, 189)
HSLhsl(226, 60%, 46%)
HSVhsv(226, 75%, 74%)
CMYKcmyk(75.1%, 57.7%, 0%, 25.9%)
CIE-LABlab(37.87, 26.89, -60.77)
CIE-LCHlch(37.87, 66.46, 293.87°)
OKLaboklab(47.44% -0.0102 -0.1754)
OKLCHoklch(47.44% 0.176 266.7)
XYZxyz(13.2230, 10.0143, 49.3703)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F50BD #BD9C2F
analogous
#2F97BD #2F50BD #552FBD
triadic
#2F50BD #BD2F50 #50BD2F
tetradic
#2F50BD #BD2F97 #BD9C2F #2FBD55
square
#2F50BD #BD2F97 #BD9C2F #2FBD55
split-complementary
#2F50BD #BD552F #97BD2F
monochromatic
#17275B #233B8C #2F50BD #5572D5 #869BE1

Accessibility & contrast

On white

6.99
#2F50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2F50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F50BD
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F50BD#FFFFFF#000000##FFFFFF
##2F50BD1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f50bd;
/* rgb */ color: rgb(47, 80, 189);
/* oklch */ color: oklch(47.4% 0.176 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c80d2',
    500: '#2f50bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f50bd;
$custom-light: #7c80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f50bd",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 226.056,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.17568,
    "h": 266.7
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#2F50BD
secondary
#CAB87E
accent
#BE44E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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