#2D5FCE#2D5FCE

#2D5FCE is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.181 H 263.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2D5FCE
RGBrgb(45, 95, 206)
HSLhsl(221, 64%, 49%)
HSVhsv(221, 78%, 81%)
CMYKcmyk(78.2%, 53.9%, 0%, 19.2%)
CIE-LABlab(43.06, 23.29, -62.21)
CIE-LCHlch(43.06, 66.42, 290.53°)
OKLaboklab(51.73% -0.0213 -0.1794)
OKLCHoklch(51.73% 0.181 263.2)
XYZxyz(16.3110, 13.1966, 60.0681)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FCE #CE9C2D
analogous
#2DB0CE #2D5FCE #4B2DCE
triadic
#2D5FCE #CE2D5F #5FCE2D
tetradic
#2D5FCE #CE2DB0 #CE9C2D #2DCE4B
square
#2D5FCE #CE2DB0 #CE9C2D #2DCE4B
split-complementary
#2D5FCE #CE4B2D #B0CE2D
monochromatic
#17316A #22489C #2D5FCE #5D84DC #8FAAE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5FCE#FFFFFF#000000##FFFFFF
##2D5FCE1.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)
#006DD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d5fce;
/* rgb */ color: rgb(45, 95, 206);
/* oklch */ color: oklch(51.7% 0.181 263.2);
Tailwind
colors: {
  custom: {
    50: '#7e8bde',
    500: '#2d5fce',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fce;
$custom-light: #7e8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fce",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 221.366,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51733,
    "c": 0.18064,
    "h": 263.2
  },
  "luminance": 0.13199
}

Semantic roles & 50–950 ramp

primary
#2D5FCE
secondary
#D1BA86
accent
#B341E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2D5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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