#2A50C1#2A50C1

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

Color values

HEX#2A50C1
RGBrgb(42, 80, 193)
HSLhsl(225, 64%, 46%)
HSVhsv(225, 78%, 76%)
CMYKcmyk(78.2%, 58.5%, 0%, 24.3%)
CIE-LABlab(37.98, 27.84, -62.93)
CIE-LCHlch(37.98, 68.82, 293.87°)
OKLaboklab(47.57% -0.0141 -0.1818)
OKLCHoklch(47.57% 0.182 265.6)
XYZxyz(13.4458, 10.0783, 51.6784)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50C1 #C19B2A
analogous
#2A9BC1 #2A50C1 #502AC1
triadic
#2A50C1 #C12A50 #50C12A
tetradic
#2A50C1 #C12A9B #C19B2A #2AC150
square
#2A50C1 #C12A9B #C19B2A #2AC150
split-complementary
#2A50C1 #C1502A #9BC12A
monochromatic
#14265C #1F3B8F #2A50C1 #4F72D9 #829AE4

Accessibility & contrast

On white

6.96
#2A50C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2A50C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A50C1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50C1#FFFFFF#000000##FFFFFF
##2A50C11.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a50c1;
/* rgb */ color: rgb(42, 80, 193);
/* oklch */ color: oklch(47.6% 0.182 265.6);
Tailwind
colors: {
  custom: {
    50: '#7b80d5',
    500: '#2a50c1',
    950: '#000000',
  },
}
SCSS
$custom: #2a50c1;
$custom-light: #7b80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50c1",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 193
  },
  "hsl": {
    "h": 224.901,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.18235,
    "h": 265.6
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#2A50C1
secondary
#CDB87A
accent
#BD41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2A50C1

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

Preview Lab → · Contrast checker → · Palette generator →

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