#2D5BDC#2D5BDC

#2D5BDC is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.1% C 0.204 H 265.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2D5BDC
RGBrgb(45, 91, 220)
HSLhsl(224, 71%, 52%)
HSVhsv(224, 80%, 86%)
CMYKcmyk(79.5%, 58.6%, 0%, 13.7%)
CIE-LABlab(43.07, 31.11, -70.20)
CIE-LCHlch(43.07, 76.78, 293.90°)
OKLaboklab(52.08% -0.0178 -0.2029)
OKLCHoklch(52.08% 0.204 265)
XYZxyz(17.7370, 13.2053, 69.3103)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BDC #DCAE2D
analogous
#2DB2DC #2D5BDC #572DDC
triadic
#2D5BDC #DC2D5B #5BDC2D
tetradic
#2D5BDC #DC2DB2 #DCAE2D #2DDC57
square
#2D5BDC #DC2DB2 #DCAE2D #2DDC57
split-complementary
#2D5BDC #DC572D #B2DC2D
monochromatic
#142F7A #1D43AF #2D5BDC #6184E5 #96ADED

Accessibility & contrast

On white

5.77
#2D5BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2D5BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5BDC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BDC#FFFFFF#000000##FFFFFF
##2D5BDC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d5bdc;
/* rgb */ color: rgb(45, 91, 220);
/* oklch */ color: oklch(52.1% 0.204 265.0);
Tailwind
colors: {
  custom: {
    50: '#8288e8',
    500: '#2d5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #2d5bdc;
$custom-light: #8288e8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5bdc",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 224.229,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.2037,
    "h": 265
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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