#2D58DC#2D58DC

#2D58DC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.5% C 0.207 H 265.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2D58DC
RGBrgb(45, 88, 220)
HSLhsl(225, 71%, 52%)
HSVhsv(225, 80%, 86%)
CMYKcmyk(79.5%, 60%, 0%, 13.7%)
CIE-LABlab(42.31, 33.03, -71.44)
CIE-LCHlch(42.31, 78.70, 294.81°)
OKLaboklab(51.51% -0.0161 -0.2066)
OKLCHoklch(51.51% 0.207 265.5)
XYZxyz(17.4856, 12.7026, 69.2265)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58DC #DCB12D
analogous
#2DB0DC #2D58DC #5A2DDC
triadic
#2D58DC #DC2D58 #58DC2D
tetradic
#2D58DC #DC2DB0 #DCB12D #2DDC5A
square
#2D58DC #DC2DB0 #DCB12D #2DDC5A
split-complementary
#2D58DC #DC5A2D #B0DC2D
monochromatic
#142D7A #1D41AF #2D58DC #6182E5 #96ABED

Accessibility & contrast

On white

5.93
#2D58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2D58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58DC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58DC#FFFFFF#000000##FFFFFF
##2D58DC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d58dc;
/* rgb */ color: rgb(45, 88, 220);
/* oklch */ color: oklch(51.5% 0.207 265.5);
Tailwind
colors: {
  custom: {
    50: '#8286e8',
    500: '#2d58dc',
    950: '#000000',
  },
}
SCSS
$custom: #2d58dc;
$custom-light: #8286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58dc",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 225.257,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.20722,
    "h": 265.5
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#2D58DC
secondary
#D9C68C
accent
#C23AEE
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2D58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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