#2D5FD0#2D5FD0

#2D5FD0 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.183 H 263.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2D5FD0
RGBrgb(45, 95, 208)
HSLhsl(222, 64%, 50%)
HSVhsv(222, 78%, 82%)
CMYKcmyk(78.4%, 54.3%, 0%, 18.4%)
CIE-LABlab(43.20, 24.05, -63.12)
CIE-LCHlch(43.20, 67.55, 290.86°)
OKLaboklab(51.89% -0.0211 -0.1821)
OKLCHoklch(51.89% 0.183 263.4)
XYZxyz(16.5555, 13.2944, 61.3558)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FD0 #D09E2D
analogous
#2DB1D0 #2D5FD0 #4C2DD0
triadic
#2D5FD0 #D02D5F #5FD02D
tetradic
#2D5FD0 #D02DB1 #D09E2D #2DD04C
square
#2D5FD0 #D02DB1 #D09E2D #2DD04C
split-complementary
#2D5FD0 #D04C2D #B1D02D
monochromatic
#17316B #22489E #2D5FD0 #5E85DC #90ABE7

Accessibility & contrast

On white

5.74
#2D5FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2D5FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FD0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FD0#FFFFFF#000000##FFFFFF
##2D5FD01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d5fd0;
/* rgb */ color: rgb(45, 95, 208);
/* oklch */ color: oklch(51.9% 0.183 263.4);
Tailwind
colors: {
  custom: {
    50: '#7f8bdf',
    500: '#2d5fd0',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fd0;
$custom-light: #7f8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fd0",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 221.595,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.18328,
    "h": 263.4
  },
  "luminance": 0.13296
}

Semantic roles & 50–950 ramp

primary
#2D5FD0
secondary
#D2BB87
accent
#B440E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2D5FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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