#2F50AB#2F50AB

#2F50AB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.151 H 265.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2F50AB
RGBrgb(47, 80, 171)
HSLhsl(224, 57%, 43%)
HSVhsv(224, 73%, 67%)
CMYKcmyk(72.5%, 53.2%, 0%, 32.9%)
CIE-LABlab(36.52, 20.13, -52.34)
CIE-LCHlch(36.52, 56.08, 291.03°)
OKLaboklab(46% -0.0113 -0.1506)
OKLCHoklch(46% 0.151 265.7)
XYZxyz(11.3891, 9.2807, 39.7113)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F50AB #AB8A2F
analogous
#2F8EAB #2F50AB #4C2FAB
triadic
#2F50AB #AB2F50 #50AB2F
tetradic
#2F50AB #AB2F8E #AB8A2F #2FAB4C
square
#2F50AB #AB2F8E #AB8A2F #2FAB4C
split-complementary
#2F50AB #AB4C2F #8EAB2F
monochromatic
#15234B #223A7B #2F50AB #4A6DCD #7A94DA

Accessibility & contrast

On white

7.35
#2F50AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2F50AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F50AB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F50AB#FFFFFF#000000##FFFFFF
##2F50AB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f50ab;
/* rgb */ color: rgb(47, 80, 171);
/* oklch */ color: oklch(46.0% 0.151 265.7);
Tailwind
colors: {
  custom: {
    50: '#7880c5',
    500: '#2f50ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f50ab;
$custom-light: #7880c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f50ab",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 224.032,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46,
    "c": 0.15102,
    "h": 265.7
  },
  "luminance": 0.09282
}

Semantic roles & 50–950 ramp

primary
#2F50AB
secondary
#C3AE73
accent
#B848E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F50AB

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

Preview Lab → · Contrast checker → · Palette generator →

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