#2D50B9#2D50B9

#2D50B9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.171 H 266.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2D50B9
RGBrgb(45, 80, 185)
HSLhsl(225, 61%, 45%)
HSVhsv(225, 76%, 73%)
CMYKcmyk(75.7%, 56.8%, 0%, 27.5%)
CIE-LABlab(37.47, 25.15, -59.07)
CIE-LCHlch(37.47, 64.20, 293.07°)
OKLaboklab(47.03% -0.012 -0.1704)
OKLCHoklch(47.03% 0.171 266)
XYZxyz(12.7047, 9.7966, 47.1109)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50B9 #B9962D
analogous
#2D96B9 #2D50B9 #502DB9
triadic
#2D50B9 #B92D50 #50B92D
tetradic
#2D50B9 #B92D96 #B9962D #2DB950
square
#2D50B9 #B92D96 #B9962D #2DB950
split-complementary
#2D50B9 #B9502D #96B92D
monochromatic
#152557 #213B88 #2D50B9 #4F70D4 #8098E0

Accessibility & contrast

On white

7.10
#2D50B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2D50B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D50B9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50B9#FFFFFF#000000##FFFFFF
##2D50B91.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d50b9;
/* rgb */ color: rgb(45, 80, 185);
/* oklch */ color: oklch(47.0% 0.171 266.0);
Tailwind
colors: {
  custom: {
    50: '#7a80cf',
    500: '#2d50b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d50b9;
$custom-light: #7a80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50b9",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 185
  },
  "hsl": {
    "h": 225,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47026,
    "c": 0.17083,
    "h": 266
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#2D50B9
secondary
#C9B579
accent
#BC44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2D50B9

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

Preview Lab → · Contrast checker → · Palette generator →

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