#2A50B9#2A50B9

#2A50B9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.172 H 265.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2A50B9
RGBrgb(42, 80, 185)
HSLhsl(224, 63%, 45%)
HSVhsv(224, 77%, 73%)
CMYKcmyk(77.3%, 56.8%, 0%, 27.5%)
CIE-LABlab(37.36, 24.81, -59.27)
CIE-LCHlch(37.36, 64.26, 292.72°)
OKLaboklab(46.9% -0.0144 -0.171)
OKLCHoklch(46.9% 0.172 265.2)
XYZxyz(12.5774, 9.7309, 47.1049)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50B9 #B9932A
analogous
#2A98B9 #2A50B9 #4C2AB9
triadic
#2A50B9 #B92A50 #50B92A
tetradic
#2A50B9 #B92A98 #B9932A #2AB94C
square
#2A50B9 #B92A98 #B9932A #2AB94C
split-complementary
#2A50B9 #B94C2A #98B92A
monochromatic
#132555 #1F3A87 #2A50B9 #4A6FD6 #7C97E1

Accessibility & contrast

On white

7.13
#2A50B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2A50B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A50B9
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50B9#FFFFFF#000000##FFFFFF
##2A50B91.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a50b9;
/* rgb */ color: rgb(42, 80, 185);
/* oklch */ color: oklch(46.9% 0.172 265.2);
Tailwind
colors: {
  custom: {
    50: '#7980cf',
    500: '#2a50b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a50b9;
$custom-light: #7980cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50b9",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 185
  },
  "hsl": {
    "h": 224.056,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.17166,
    "h": 265.2
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#2A50B9
secondary
#CAB375
accent
#BA42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2A50B9

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

Preview Lab → · Contrast checker → · Palette generator →

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