#2F50AA#2F50AA

#2F50AA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.150 H 265.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2F50AA
RGBrgb(47, 80, 170)
HSLhsl(224, 57%, 43%)
HSVhsv(224, 72%, 67%)
CMYKcmyk(72.4%, 52.9%, 0%, 33.3%)
CIE-LABlab(36.45, 19.75, -51.86)
CIE-LCHlch(36.45, 55.50, 290.84°)
OKLaboklab(45.92% -0.0114 -0.1492)
OKLCHoklch(45.92% 0.15 265.6)
XYZxyz(11.2941, 9.2428, 39.2112)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F50AA #AA892F
analogous
#2F8EAA #2F50AA #4B2FAA
triadic
#2F50AA #AA2F50 #50AA2F
tetradic
#2F50AA #AA2F8E #AA892F #2FAA4B
square
#2F50AA #AA2F8E #AA892F #2FAA4B
split-complementary
#2F50AA #AA4B2F #8EAA2F
monochromatic
#14234A #22397A #2F50AA #496DCD #7993DA

Accessibility & contrast

On white

7.37
#2F50AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2F50AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F50AA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F50AA#FFFFFF#000000##FFFFFF
##2F50AA1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135CAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f50aa;
/* rgb */ color: rgb(47, 80, 170);
/* oklch */ color: oklch(45.9% 0.150 265.6);
Tailwind
colors: {
  custom: {
    50: '#7880c4',
    500: '#2f50aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f50aa;
$custom-light: #7880c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f50aa",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 223.902,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.14962,
    "h": 265.6
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#2F50AA
secondary
#C2AD72
accent
#B748E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F50AA

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

Preview Lab → · Contrast checker → · Palette generator →

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