#2D5DCD#2D5DCD

#2D5DCD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.182 H 263.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2D5DCD
RGBrgb(45, 93, 205)
HSLhsl(222, 64%, 49%)
HSVhsv(222, 78%, 80%)
CMYKcmyk(78%, 54.6%, 0%, 19.6%)
CIE-LABlab(42.45, 24.21, -62.62)
CIE-LCHlch(42.45, 67.14, 291.14°)
OKLaboklab(51.25% -0.0199 -0.1806)
OKLCHoklch(51.25% 0.182 263.7)
XYZxyz(16.0121, 12.7925, 59.3711)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DCD #CD9D2D
analogous
#2DADCD #2D5DCD #4D2DCD
triadic
#2D5DCD #CD2D5D #5DCD2D
tetradic
#2D5DCD #CD2DAD #CD9D2D #2DCD4D
square
#2D5DCD #CD2DAD #CD9D2D #2DCD4D
split-complementary
#2D5DCD #CD4D2D #ADCD2D
monochromatic
#172F69 #22469B #2D5DCD #5C82DB #8EA9E6

Accessibility & contrast

On white

5.90
#2D5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2D5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DCD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DCD#FFFFFF#000000##FFFFFF
##2D5DCD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d5dcd;
/* rgb */ color: rgb(45, 93, 205);
/* oklch */ color: oklch(51.2% 0.182 263.7);
Tailwind
colors: {
  custom: {
    50: '#7e8add',
    500: '#2d5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #2d5dcd;
$custom-light: #7e8add;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5dcd",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 222,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.18173,
    "h": 263.7
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#2D5DCD
secondary
#D1BA85
accent
#B541E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2D5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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