#2A50C0#2A50C0

#2A50C0 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.181 H 265.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2A50C0
RGBrgb(42, 80, 192)
HSLhsl(225, 64%, 46%)
HSVhsv(225, 78%, 75%)
CMYKcmyk(78.1%, 58.3%, 0%, 24.7%)
CIE-LABlab(37.90, 27.47, -62.48)
CIE-LCHlch(37.90, 68.25, 293.73°)
OKLaboklab(47.49% -0.0141 -0.1805)
OKLCHoklch(47.49% 0.181 265.5)
XYZxyz(13.3346, 10.0338, 51.0929)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50C0 #C09A2A
analogous
#2A9BC0 #2A50C0 #4F2AC0
triadic
#2A50C0 #C02A50 #50C02A
tetradic
#2A50C0 #C02A9B #C09A2A #2AC04F
square
#2A50C0 #C02A9B #C09A2A #2AC04F
split-complementary
#2A50C0 #C04F2A #9BC02A
monochromatic
#14265C #1F3B8E #2A50C0 #4F72D8 #819AE3

Accessibility & contrast

On white

6.98
#2A50C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2A50C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A50C0
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50C0#FFFFFF#000000##FFFFFF
##2A50C01.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a50c0;
/* rgb */ color: rgb(42, 80, 192);
/* oklch */ color: oklch(47.5% 0.181 265.5);
Tailwind
colors: {
  custom: {
    50: '#7b80d4',
    500: '#2a50c0',
    950: '#000000',
  },
}
SCSS
$custom: #2a50c0;
$custom-light: #7b80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50c0",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 192
  },
  "hsl": {
    "h": 224.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47486,
    "c": 0.18103,
    "h": 265.5
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A50C0

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

Preview Lab → · Contrast checker → · Palette generator →

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