#2D50C3#2D50C3

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

Color values

HEX#2D50C3
RGBrgb(45, 80, 195)
HSLhsl(226, 63%, 47%)
HSVhsv(226, 77%, 76%)
CMYKcmyk(76.9%, 59%, 0%, 23.5%)
CIE-LABlab(38.26, 28.91, -63.65)
CIE-LCHlch(38.26, 69.90, 294.43°)
OKLaboklab(47.86% -0.0116 -0.1839)
OKLCHoklch(47.86% 0.184 266.4)
XYZxyz(13.7977, 10.2338, 52.8673)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50C3 #C3A02D
analogous
#2D9BC3 #2D50C3 #552DC3
triadic
#2D50C3 #C32D50 #50C32D
tetradic
#2D50C3 #C32D9B #C3A02D #2DC355
square
#2D50C3 #C32D9B #C3A02D #2DC355
split-complementary
#2D50C3 #C3552D #9BC32D
monochromatic
#162760 #223C91 #2D50C3 #5574D8 #879DE3

Accessibility & contrast

On white

6.89
#2D50C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2D50C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D50C3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50C3#FFFFFF#000000##FFFFFF
##2D50C31.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d50c3;
/* rgb */ color: rgb(45, 80, 195);
/* oklch */ color: oklch(47.9% 0.184 266.4);
Tailwind
colors: {
  custom: {
    50: '#7d80d6',
    500: '#2d50c3',
    950: '#000000',
  },
}
SCSS
$custom: #2d50c3;
$custom-light: #7d80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50c3",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 195
  },
  "hsl": {
    "h": 226,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47859,
    "c": 0.18422,
    "h": 266.4
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#2D50C3
secondary
#CDBB7F
accent
#BF42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D50C3

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

Preview Lab → · Contrast checker → · Palette generator →

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