#2F50AE#2F50AE

#2F50AE is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.155 H 265.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2F50AE
RGBrgb(47, 80, 174)
HSLhsl(224, 57%, 43%)
HSVhsv(224, 73%, 68%)
CMYKcmyk(73%, 54%, 0%, 31.8%)
CIE-LABlab(36.74, 21.26, -53.77)
CIE-LCHlch(36.74, 57.82, 291.57°)
OKLaboklab(46.23% -0.0111 -0.1548)
OKLCHoklch(46.23% 0.155 265.9)
XYZxyz(11.6783, 9.3964, 41.2344)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F50AE #AE8D2F
analogous
#2F8FAE #2F50AE #4D2FAE
triadic
#2F50AE #AE2F50 #50AE2F
tetradic
#2F50AE #AE2F8F #AE8D2F #2FAE4D
square
#2F50AE #AE2F8F #AE8D2F #2FAE4D
split-complementary
#2F50AE #AE4D2F #8FAE2F
monochromatic
#15244E #223A7E #2F50AE #4C6ECF #7C95DC

Accessibility & contrast

On white

7.29
#2F50AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F50AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F50AE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F50AE#FFFFFF#000000##FFFFFF
##2F50AE1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075DB1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f50ae;
/* rgb */ color: rgb(47, 80, 174);
/* oklch */ color: oklch(46.2% 0.155 265.9);
Tailwind
colors: {
  custom: {
    50: '#7980c7',
    500: '#2f50ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f50ae;
$custom-light: #7980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f50ae",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 224.409,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.1552,
    "h": 265.9
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#2F50AE
secondary
#C4AF75
accent
#B947E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F50AE

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

Preview Lab → · Contrast checker → · Palette generator →

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