#2D5DC8#2D5DC8

#2D5DC8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.175 H 263.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2D5DC8
RGBrgb(45, 93, 200)
HSLhsl(221, 63%, 48%)
HSVhsv(221, 78%, 78%)
CMYKcmyk(77.5%, 53.5%, 0%, 21.6%)
CIE-LABlab(42.08, 22.32, -60.33)
CIE-LCHlch(42.08, 64.32, 290.31°)
OKLaboklab(50.86% -0.0204 -0.1739)
OKLCHoklch(50.86% 0.175 263.3)
XYZxyz(15.4181, 12.5549, 56.2431)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DC8 #C8982D
analogous
#2DAAC8 #2D5DC8 #4A2DC8
triadic
#2D5DC8 #C82D5D #5DC82D
tetradic
#2D5DC8 #C82DAA #C8982D #2DC84A
square
#2D5DC8 #C82DAA #C8982D #2DC84A
split-complementary
#2D5DC8 #C84A2D #AAC82D
monochromatic
#172F64 #224696 #2D5DC8 #5981DA #8BA7E5

Accessibility & contrast

On white

5.98
#2D5DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2D5DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DC8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DC8#FFFFFF#000000##FFFFFF
##2D5DC81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036BCC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d5dc8;
/* rgb */ color: rgb(45, 93, 200);
/* oklch */ color: oklch(50.9% 0.175 263.3);
Tailwind
colors: {
  custom: {
    50: '#7d8ad9',
    500: '#2d5dc8',
    950: '#000000',
  },
}
SCSS
$custom: #2d5dc8;
$custom-light: #7d8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5dc8",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 221.419,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.17507,
    "h": 263.3
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#2D5DC8
secondary
#CFB782
accent
#B341E6
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2D5DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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