#2D5FCD#2D5FCD

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

Color values

HEX#2D5FCD
RGBrgb(45, 95, 205)
HSLhsl(221, 64%, 49%)
HSVhsv(221, 78%, 80%)
CMYKcmyk(78%, 53.7%, 0%, 19.6%)
CIE-LABlab(42.99, 22.92, -61.75)
CIE-LCHlch(42.99, 65.86, 290.36°)
OKLaboklab(51.65% -0.0214 -0.178)
OKLCHoklch(51.65% 0.179 263.2)
XYZxyz(16.1899, 13.1482, 59.4304)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FCD #CD9B2D
analogous
#2DAFCD #2D5FCD #4B2DCD
triadic
#2D5FCD #CD2D5F #5FCD2D
tetradic
#2D5FCD #CD2DAF #CD9B2D #2DCD4B
square
#2D5FCD #CD2DAF #CD9B2D #2DCD4B
split-complementary
#2D5FCD #CD4B2D #AFCD2D
monochromatic
#173069 #22489B #2D5FCD #5C84DB #8EAAE6

Accessibility & contrast

On white

5.79
#2D5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2D5FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FCD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FCD#FFFFFF#000000##FFFFFF
##2D5FCD1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d5fcd;
/* rgb */ color: rgb(45, 95, 205);
/* oklch */ color: oklch(51.7% 0.179 263.2);
Tailwind
colors: {
  custom: {
    50: '#7e8bdd',
    500: '#2d5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fcd;
$custom-light: #7e8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fcd",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 221.25,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.17931,
    "h": 263.2
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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