#2D5ADC#2D5ADC

#2D5ADC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 51.9% C 0.205 H 265.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2D5ADC
RGBrgb(45, 90, 220)
HSLhsl(225, 71%, 52%)
HSVhsv(225, 80%, 86%)
CMYKcmyk(79.5%, 59.1%, 0%, 13.7%)
CIE-LABlab(42.82, 31.75, -70.61)
CIE-LCHlch(42.82, 77.42, 294.21°)
OKLaboklab(51.89% -0.0173 -0.2042)
OKLCHoklch(51.89% 0.205 265.2)
XYZxyz(17.6521, 13.0354, 69.2820)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5ADC #DCAF2D
analogous
#2DB2DC #2D5ADC #572DDC
triadic
#2D5ADC #DC2D5A #5ADC2D
tetradic
#2D5ADC #DC2DB2 #DCAF2D #2DDC57
square
#2D5ADC #DC2DB2 #DCAF2D #2DDC57
split-complementary
#2D5ADC #DC572D #B2DC2D
monochromatic
#142F7A #1D43AF #2D5ADC #6183E5 #96ACED

Accessibility & contrast

On white

5.82
#2D5ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2D5ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5ADC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5ADC#FFFFFF#000000##FFFFFF
##2D5ADC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d5adc;
/* rgb */ color: rgb(45, 90, 220);
/* oklch */ color: oklch(51.9% 0.205 265.2);
Tailwind
colors: {
  custom: {
    50: '#8288e8',
    500: '#2d5adc',
    950: '#000000',
  },
}
SCSS
$custom: #2d5adc;
$custom-light: #8288e8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5adc",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 224.571,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51885,
    "c": 0.20489,
    "h": 265.2
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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