#2D5DB4#2D5DB4

#2D5DB4 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.148 H 261.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2D5DB4
RGBrgb(45, 93, 180)
HSLhsl(219, 60%, 44%)
HSVhsv(219, 75%, 71%)
CMYKcmyk(75%, 48.3%, 0%, 29.4%)
CIE-LABlab(40.70, 14.73, -50.91)
CIE-LCHlch(40.70, 53.00, 286.13°)
OKLaboklab(49.36% -0.0228 -0.1462)
OKLCHoklch(49.36% 0.148 261.1)
XYZxyz(13.2318, 11.6804, 44.7284)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DB4 #B4842D
analogous
#2DA1B4 #2D5DB4 #412DB4
triadic
#2D5DB4 #B42D5D #5DB42D
tetradic
#2D5DB4 #B42DA1 #B4842D #2DB441
square
#2D5DB4 #B42DA1 #B4842D #2DB441
split-complementary
#2D5DB4 #B4412D #A1B42D
monochromatic
#152A52 #214483 #2D5DB4 #4C7CD2 #7DA0DE

Accessibility & contrast

On white

6.29
#2D5DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2D5DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DB4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DB4#FFFFFF#000000##FFFFFF
##2D5DB41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5db4;
/* rgb */ color: rgb(45, 93, 180);
/* oklch */ color: oklch(49.4% 0.148 261.1);
Tailwind
colors: {
  custom: {
    50: '#798acb',
    500: '#2d5db4',
    950: '#000000',
  },
}
SCSS
$custom: #2d5db4;
$custom-light: #798acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5db4",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 218.667,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.14795,
    "h": 261.1
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#2D5DB4
secondary
#C7AA76
accent
#AB45E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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