#2D50C4#2D50C4

#2D50C4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.186 H 266.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2D50C4
RGBrgb(45, 80, 196)
HSLhsl(226, 63%, 47%)
HSVhsv(226, 77%, 77%)
CMYKcmyk(77%, 59.2%, 0%, 23.1%)
CIE-LABlab(38.34, 29.28, -64.10)
CIE-LCHlch(38.34, 70.47, 294.55°)
OKLaboklab(47.94% -0.0116 -0.1852)
OKLCHoklch(47.94% 0.186 266.4)
XYZxyz(13.9112, 10.2792, 53.4648)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50C4 #C4A12D
analogous
#2D9BC4 #2D50C4 #562DC4
triadic
#2D50C4 #C42D50 #50C42D
tetradic
#2D50C4 #C42D9B #C4A12D #2DC456
square
#2D50C4 #C42D9B #C4A12D #2DC456
split-complementary
#2D50C4 #C4562D #9BC42D
monochromatic
#162760 #223C92 #2D50C4 #5674D8 #889DE4

Accessibility & contrast

On white

6.87
#2D50C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2D50C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D50C4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50C4#FFFFFF#000000##FFFFFF
##2D50C41.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d50c4;
/* rgb */ color: rgb(45, 80, 196);
/* oklch */ color: oklch(47.9% 0.186 266.4);
Tailwind
colors: {
  custom: {
    50: '#7d80d7',
    500: '#2d50c4',
    950: '#000000',
  },
}
SCSS
$custom: #2d50c4;
$custom-light: #7d80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50c4",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 226.093,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.18554,
    "h": 266.4
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#2D50C4
secondary
#CDBB80
accent
#C042E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D50C4

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

Preview Lab → · Contrast checker → · Palette generator →

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