#2A50C2#2A50C2

#2A50C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.184 H 265.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2A50C2
RGBrgb(42, 80, 194)
HSLhsl(225, 64%, 46%)
HSVhsv(225, 78%, 76%)
CMYKcmyk(78.4%, 58.8%, 0%, 23.9%)
CIE-LABlab(38.06, 28.22, -63.39)
CIE-LCHlch(38.06, 69.39, 294.00°)
OKLaboklab(47.65% -0.014 -0.1831)
OKLCHoklch(47.65% 0.184 265.6)
XYZxyz(13.5577, 10.1230, 52.2679)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50C2 #C29C2A
analogous
#2A9CC2 #2A50C2 #502AC2
triadic
#2A50C2 #C22A50 #50C22A
tetradic
#2A50C2 #C22A9C #C29C2A #2AC250
square
#2A50C2 #C22A9C #C29C2A #2AC250
split-complementary
#2A50C2 #C2502A #9CC22A
monochromatic
#14275D #1F3B90 #2A50C2 #5072D9 #829BE4

Accessibility & contrast

On white

6.94
#2A50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2A50C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A50C2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50C2#FFFFFF#000000##FFFFFF
##2A50C21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a50c2;
/* rgb */ color: rgb(42, 80, 194);
/* oklch */ color: oklch(47.7% 0.184 265.6);
Tailwind
colors: {
  custom: {
    50: '#7c80d5',
    500: '#2a50c2',
    950: '#000000',
  },
}
SCSS
$custom: #2a50c2;
$custom-light: #7c80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50c2",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 225,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47655,
    "c": 0.18369,
    "h": 265.6
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#2A50C2
secondary
#CDB87B
accent
#BE40E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2A50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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