#2D50B1#2D50B1

#2D50B1 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.160 H 265.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2D50B1
RGBrgb(45, 80, 177)
HSLhsl(224, 59%, 44%)
HSVhsv(224, 75%, 69%)
CMYKcmyk(74.6%, 54.8%, 0%, 30.6%)
CIE-LABlab(36.87, 22.13, -55.34)
CIE-LCHlch(36.87, 59.60, 291.80°)
OKLaboklab(46.38% -0.0125 -0.1594)
OKLCHoklch(46.38% 0.16 265.5)
XYZxyz(11.8839, 9.4682, 42.7877)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50B1 #B18E2D
analogous
#2D92B1 #2D50B1 #4C2DB1
triadic
#2D50B1 #B12D50 #50B12D
tetradic
#2D50B1 #B12D92 #B18E2D #2DB14C
square
#2D50B1 #B12D92 #B18E2D #2DB14C
split-complementary
#2D50B1 #B14C2D #92B12D
monochromatic
#14244F #213A80 #2D50B1 #4A6ED1 #7B95DD

Accessibility & contrast

On white

7.26
#2D50B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2D50B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D50B1
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50B1#FFFFFF#000000##FFFFFF
##2D50B11.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d50b1;
/* rgb */ color: rgb(45, 80, 177);
/* oklch */ color: oklch(46.4% 0.160 265.5);
Tailwind
colors: {
  custom: {
    50: '#7980c9',
    500: '#2d50b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d50b1;
$custom-light: #7980c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50b1",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 177
  },
  "hsl": {
    "h": 224.091,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46381,
    "c": 0.15992,
    "h": 265.5
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#2D50B1
secondary
#C6B074
accent
#B945E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D50B1

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

Preview Lab → · Contrast checker → · Palette generator →

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