#2A5FD0#2A5FD0

#2A5FD0 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.184 H 262.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2A5FD0
RGBrgb(42, 95, 208)
HSLhsl(221, 66%, 49%)
HSVhsv(221, 80%, 82%)
CMYKcmyk(79.8%, 54.3%, 0%, 18.4%)
CIE-LABlab(43.11, 23.75, -63.28)
CIE-LCHlch(43.11, 67.59, 290.57°)
OKLaboklab(51.79% -0.0231 -0.1826)
OKLCHoklch(51.79% 0.184 262.8)
XYZxyz(16.4281, 13.2288, 61.3499)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5FD0 #D09B2A
analogous
#2AB2D0 #2A5FD0 #482AD0
triadic
#2A5FD0 #D02A5F #5FD02A
tetradic
#2A5FD0 #D02AB2 #D09B2A #2AD048
square
#2A5FD0 #D02AB2 #D09B2A #2AD048
split-complementary
#2A5FD0 #D0482A #B2D02A
monochromatic
#15306A #20489D #2A5FD0 #5A84DE #8DAAE8

Accessibility & contrast

On white

5.76
#2A5FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2A5FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5FD0
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5FD0#FFFFFF#000000##FFFFFF
##2A5FD01.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.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: #2a5fd0;
/* rgb */ color: rgb(42, 95, 208);
/* oklch */ color: oklch(51.8% 0.184 262.8);
Tailwind
colors: {
  custom: {
    50: '#7e8bdf',
    500: '#2a5fd0',
    950: '#000000',
  },
}
SCSS
$custom: #2a5fd0;
$custom-light: #7e8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5fd0",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 220.843,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.18405,
    "h": 262.8
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#2A5FD0
secondary
#D2B984
accent
#B33EE9
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2A5FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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