#2D50C1#2D50C1

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

Color values

HEX#2D50C1
RGBrgb(45, 80, 193)
HSLhsl(226, 62%, 47%)
HSVhsv(226, 77%, 76%)
CMYKcmyk(76.7%, 58.5%, 0%, 24.3%)
CIE-LABlab(38.10, 28.16, -62.74)
CIE-LCHlch(38.10, 68.77, 294.17°)
OKLaboklab(47.69% -0.0117 -0.1812)
OKLCHoklch(47.69% 0.182 266.3)
XYZxyz(13.5731, 10.1439, 51.6844)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50C1 #C19E2D
analogous
#2D9AC1 #2D50C1 #542DC1
triadic
#2D50C1 #C12D50 #50C12D
tetradic
#2D50C1 #C12D9A #C19E2D #2DC154
square
#2D50C1 #C12D9A #C19E2D #2DC154
split-complementary
#2D50C1 #C1542D #9AC12D
monochromatic
#16275E #213B8F #2D50C1 #5473D7 #869CE3

Accessibility & contrast

On white

6.93
#2D50C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2D50C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D50C1
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50C1#FFFFFF#000000##FFFFFF
##2D50C11.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d50c1;
/* rgb */ color: rgb(45, 80, 193);
/* oklch */ color: oklch(47.7% 0.182 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c80d5',
    500: '#2d50c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d50c1;
$custom-light: #7c80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50c1",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 193
  },
  "hsl": {
    "h": 225.811,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.18157,
    "h": 266.3
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#2D50C1
secondary
#CCBA7E
accent
#BF43E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D50C1

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

Preview Lab → · Contrast checker → · Palette generator →

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