#2D50B2#2D50B2

#2D50B2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.161 H 265.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2D50B2
RGBrgb(45, 80, 178)
HSLhsl(224, 60%, 44%)
HSVhsv(224, 75%, 70%)
CMYKcmyk(74.7%, 55.1%, 0%, 30.2%)
CIE-LABlab(36.95, 22.51, -55.81)
CIE-LCHlch(36.95, 60.18, 291.97°)
OKLaboklab(46.46% -0.0125 -0.1608)
OKLCHoklch(46.46% 0.161 265.6)
XYZxyz(11.9839, 9.5083, 43.3145)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50B2 #B28F2D
analogous
#2D92B2 #2D50B2 #4D2DB2
triadic
#2D50B2 #B22D50 #50B22D
tetradic
#2D50B2 #B22D92 #B28F2D #2DB24D
square
#2D50B2 #B22D92 #B28F2D #2DB24D
split-complementary
#2D50B2 #B24D2D #92B22D
monochromatic
#142450 #213A81 #2D50B2 #4B6ED1 #7C95DE

Accessibility & contrast

On white

7.24
#2D50B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2D50B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D50B2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50B2#FFFFFF#000000##FFFFFF
##2D50B21.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d50b2;
/* rgb */ color: rgb(45, 80, 178);
/* oklch */ color: oklch(46.5% 0.161 265.6);
Tailwind
colors: {
  custom: {
    50: '#7980ca',
    500: '#2d50b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d50b2;
$custom-light: #7980ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50b2",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 224.211,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.1613,
    "h": 265.6
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#2D50B2
secondary
#C6B175
accent
#B945E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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