#2D50BF#2D50BF

#2D50BF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.179 H 266.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2D50BF
RGBrgb(45, 80, 191)
HSLhsl(226, 62%, 46%)
HSVhsv(226, 76%, 75%)
CMYKcmyk(76.4%, 58.1%, 0%, 25.1%)
CIE-LABlab(37.94, 27.41, -61.83)
CIE-LCHlch(37.94, 67.63, 293.91°)
OKLaboklab(47.52% -0.0118 -0.1785)
OKLCHoklch(47.52% 0.179 266.2)
XYZxyz(13.3515, 10.0553, 50.5173)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D50BF #BF9C2D
analogous
#2D99BF #2D50BF #532DBF
triadic
#2D50BF #BF2D50 #50BF2D
tetradic
#2D50BF #BF2D99 #BF9C2D #2DBF53
square
#2D50BF #BF2D99 #BF9C2D #2DBF53
split-complementary
#2D50BF #BF532D #99BF2D
monochromatic
#16275C #213B8D #2D50BF #5372D6 #849BE2

Accessibility & contrast

On white

6.97
#2D50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2D50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D50BF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D50BF#FFFFFF#000000##FFFFFF
##2D50BF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d50bf;
/* rgb */ color: rgb(45, 80, 191);
/* oklch */ color: oklch(47.5% 0.179 266.2);
Tailwind
colors: {
  custom: {
    50: '#7c80d3',
    500: '#2d50bf',
    950: '#000000',
  },
}
SCSS
$custom: #2d50bf;
$custom-light: #7c80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d50bf",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 225.616,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47523,
    "c": 0.1789,
    "h": 266.2
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#2D50BF
secondary
#CBB87C
accent
#BE43E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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