#2D58DB#2D58DB

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

Color values

HEX#2D58DB
RGBrgb(45, 88, 219)
HSLhsl(225, 71%, 52%)
HSVhsv(225, 79%, 86%)
CMYKcmyk(79.5%, 59.8%, 0%, 14.1%)
CIE-LABlab(42.23, 32.66, -71.00)
CIE-LCHlch(42.23, 78.15, 294.70°)
OKLaboklab(51.42% -0.0161 -0.2053)
OKLCHoklch(51.42% 0.206 265.5)
XYZxyz(17.3536, 12.6498, 68.5311)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58DB #DBB02D
analogous
#2DAFDB #2D58DB #592DDB
triadic
#2D58DB #DB2D58 #58DB2D
tetradic
#2D58DB #DB2DAF #DBB02D #2DDB59
square
#2D58DB #DB2DAF #DBB02D #2DDB59
split-complementary
#2D58DB #DB592D #AFDB2D
monochromatic
#152D79 #1E41AD #2D58DB #6182E4 #95ABED

Accessibility & contrast

On white

5.95
#2D58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2D58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58DB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58DB#FFFFFF#000000##FFFFFF
##2D58DB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d58db;
/* rgb */ color: rgb(45, 88, 219);
/* oklch */ color: oklch(51.4% 0.206 265.5);
Tailwind
colors: {
  custom: {
    50: '#8286e7',
    500: '#2d58db',
    950: '#000000',
  },
}
SCSS
$custom: #2d58db;
$custom-light: #8286e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58db",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 225.172,
    "s": 70.732,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51423,
    "c": 0.20595,
    "h": 265.5
  },
  "luminance": 0.12652
}

Semantic roles & 50–950 ramp

primary
#2D58DB
secondary
#D8C58C
accent
#C13AED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2D58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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