#2D50BC#2D50BC

#2D50BC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.175 H 266.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2D50BC
RGBrgb(45, 80, 188)
HSLhsl(225, 61%, 46%)
HSVhsv(225, 76%, 74%)
CMYKcmyk(76.1%, 57.4%, 0%, 26.3%)
CIE-LABlab(37.71, 26.28, -60.45)
CIE-LCHlch(37.71, 65.92, 293.50°)
OKLaboklab(47.27% -0.0119 -0.1745)
OKLCHoklch(47.27% 0.175 266.1)
XYZxyz(13.0248, 9.9246, 48.7964)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50BC #BC992D
analogous
#2D97BC #2D50BC #522DBC
triadic
#2D50BC #BC2D50 #50BC2D
tetradic
#2D50BC #BC2D97 #BC992D #2DBC52
square
#2D50BC #BC2D97 #BC992D #2DBC52
split-complementary
#2D50BC #BC522D #97BC2D
monochromatic
#152659 #213B8B #2D50BC #5171D5 #8299E1

Accessibility & contrast

On white

7.03
#2D50BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2D50BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D50BC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50BC#FFFFFF#000000##FFFFFF
##2D50BC1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d50bc;
/* rgb */ color: rgb(45, 80, 188);
/* oklch */ color: oklch(47.3% 0.175 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b80d1',
    500: '#2d50bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d50bc;
$custom-light: #7b80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50bc",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 225.315,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.17488,
    "h": 266.1
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#2D50BC
secondary
#CAB77B
accent
#BD43E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2D50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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