#2D50C2#2D50C2

#2D50C2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.183 H 266.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2D50C2
RGBrgb(45, 80, 194)
HSLhsl(226, 62%, 47%)
HSVhsv(226, 77%, 76%)
CMYKcmyk(76.8%, 58.8%, 0%, 23.9%)
CIE-LABlab(38.18, 28.53, -63.19)
CIE-LCHlch(38.18, 69.34, 294.30°)
OKLaboklab(47.78% -0.0117 -0.1825)
OKLCHoklch(47.78% 0.183 266.3)
XYZxyz(13.6850, 10.1887, 52.2738)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50C2 #C29F2D
analogous
#2D9BC2 #2D50C2 #552DC2
triadic
#2D50C2 #C22D50 #50C22D
tetradic
#2D50C2 #C22D9B #C29F2D #2DC255
square
#2D50C2 #C22D9B #C29F2D #2DC255
split-complementary
#2D50C2 #C2552D #9BC22D
monochromatic
#16275F #213C90 #2D50C2 #5573D7 #869CE3

Accessibility & contrast

On white

6.91
#2D50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2D50C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D50C2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50C2#FFFFFF#000000##FFFFFF
##2D50C21.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.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: #2d50c2;
/* rgb */ color: rgb(45, 80, 194);
/* oklch */ color: oklch(47.8% 0.183 266.3);
Tailwind
colors: {
  custom: {
    50: '#7d80d5',
    500: '#2d50c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d50c2;
$custom-light: #7d80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50c2",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 225.906,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47775,
    "c": 0.18289,
    "h": 266.3
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#2D50C2
secondary
#CDBA7E
accent
#BF42E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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