#2F50A2#2F50A2

#2F50A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.138 H 264.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2F50A2
RGBrgb(47, 80, 162)
HSLhsl(223, 55%, 41%)
HSVhsv(223, 71%, 64%)
CMYKcmyk(71%, 50.6%, 0%, 36.5%)
CIE-LABlab(35.89, 16.72, -47.99)
CIE-LCHlch(35.89, 50.82, 289.21°)
OKLaboklab(45.32% -0.0123 -0.1378)
OKLCHoklch(45.32% 0.138 264.9)
XYZxyz(10.5602, 8.9492, 35.3462)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F50A2 #A2812F
analogous
#2F89A2 #2F50A2 #482FA2
triadic
#2F50A2 #A22F50 #50A22F
tetradic
#2F50A2 #A22F89 #A2812F #2FA248
square
#2F50A2 #A22F89 #A2812F #2FA248
split-complementary
#2F50A2 #A2482F #89A22F
monochromatic
#132143 #213973 #2F50A2 #456BC9 #7591D7

Accessibility & contrast

On white

7.53
#2F50A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2F50A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F50A2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F50A2#FFFFFF#000000##FFFFFF
##2F50A21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f50a2;
/* rgb */ color: rgb(47, 80, 162);
/* oklch */ color: oklch(45.3% 0.138 264.9);
Tailwind
colors: {
  custom: {
    50: '#7680be',
    500: '#2f50a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f50a2;
$custom-light: #7680be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f50a2",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 222.783,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45318,
    "c": 0.13834,
    "h": 264.9
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#2F50A2
secondary
#BFA86E
accent
#B449DE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2F50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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