#2D59DC#2D59DC

#2D59DC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 51.7% C 0.206 H 265.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2D59DC
RGBrgb(45, 89, 220)
HSLhsl(225, 71%, 52%)
HSVhsv(225, 80%, 86%)
CMYKcmyk(79.5%, 59.5%, 0%, 13.7%)
CIE-LABlab(42.56, 32.39, -71.03)
CIE-LCHlch(42.56, 78.06, 294.51°)
OKLaboklab(51.7% -0.0167 -0.2054)
OKLCHoklch(51.7% 0.206 265.4)
XYZxyz(17.5683, 12.8679, 69.2541)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59DC #DCB02D
analogous
#2DB1DC #2D59DC #582DDC
triadic
#2D59DC #DC2D59 #59DC2D
tetradic
#2D59DC #DC2DB1 #DCB02D #2DDC58
square
#2D59DC #DC2DB1 #DCB02D #2DDC58
split-complementary
#2D59DC #DC582D #B1DC2D
monochromatic
#142E7A #1D42AF #2D59DC #6182E5 #96ACED

Accessibility & contrast

On white

5.88
#2D59DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2D59DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59DC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59DC#FFFFFF#000000##FFFFFF
##2D59DC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d59dc;
/* rgb */ color: rgb(45, 89, 220);
/* oklch */ color: oklch(51.7% 0.206 265.4);
Tailwind
colors: {
  custom: {
    50: '#8287e8',
    500: '#2d59dc',
    950: '#000000',
  },
}
SCSS
$custom: #2d59dc;
$custom-light: #8287e8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59dc",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 224.914,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51696,
    "c": 0.20605,
    "h": 265.4
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#2D59DC
secondary
#D9C58C
accent
#C13AEE
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2D59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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