#2D5DBD#2D5DBD

#2D5DBD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.160 H 262.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2D5DBD
RGBrgb(45, 93, 189)
HSLhsl(220, 62%, 46%)
HSVhsv(220, 76%, 74%)
CMYKcmyk(76.2%, 50.8%, 0%, 25.9%)
CIE-LABlab(41.31, 18.15, -55.20)
CIE-LCHlch(41.31, 58.10, 288.20°)
OKLaboklab(50.02% -0.0216 -0.1588)
OKLCHoklch(50.02% 0.16 262.3)
XYZxyz(14.1786, 12.0591, 49.7146)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DBD #BD8D2D
analogous
#2DA5BD #2D5DBD #452DBD
triadic
#2D5DBD #BD2D5D #5DBD2D
tetradic
#2D5DBD #BD2DA5 #BD8D2D #2DBD45
square
#2D5DBD #BD2DA5 #BD8D2D #2DBD45
split-complementary
#2D5DBD #BD452D #A5BD2D
monochromatic
#152C5A #21458C #2D5DBD #527ED6 #83A2E1

Accessibility & contrast

On white

6.15
#2D5DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2D5DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DBD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DBD#FFFFFF#000000##FFFFFF
##2D5DBD1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d5dbd;
/* rgb */ color: rgb(45, 93, 189);
/* oklch */ color: oklch(50.0% 0.160 262.3);
Tailwind
colors: {
  custom: {
    50: '#7b8ad1',
    500: '#2d5dbd',
    950: '#000000',
  },
}
SCSS
$custom: #2d5dbd;
$custom-light: #7b8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5dbd",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 220,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.16025,
    "h": 262.3
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#2D5DBD
secondary
#CBB07B
accent
#AF43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D5DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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