#2D5DB6#2D5DB6

#2D5DB6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.151 H 261.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2D5DB6
RGBrgb(45, 93, 182)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 71%)
CMYKcmyk(75.3%, 48.9%, 0%, 28.6%)
CIE-LABlab(40.84, 15.49, -51.87)
CIE-LCHlch(40.84, 54.13, 286.62°)
OKLaboklab(49.51% -0.0225 -0.149)
OKLCHoklch(49.51% 0.151 261.4)
XYZxyz(13.4370, 11.7625, 45.8091)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DB6 #B6862D
analogous
#2DA2B6 #2D5DB6 #422DB6
triadic
#2D5DB6 #B62D5D #5DB62D
tetradic
#2D5DB6 #B62DA2 #B6862D #2DB642
square
#2D5DB6 #B62DA2 #B6862D #2DB642
split-complementary
#2D5DB6 #B6422D #A2B62D
monochromatic
#152B54 #214485 #2D5DB6 #4D7CD3 #7EA0DF

Accessibility & contrast

On white

6.26
#2D5DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2D5DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DB6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DB6#FFFFFF#000000##FFFFFF
##2D5DB61.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A67B9
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5db6;
/* rgb */ color: rgb(45, 93, 182);
/* oklch */ color: oklch(49.5% 0.151 261.4);
Tailwind
colors: {
  custom: {
    50: '#798acc',
    500: '#2d5db6',
    950: '#000000',
  },
}
SCSS
$custom: #2d5db6;
$custom-light: #798acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5db6",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 182
  },
  "hsl": {
    "h": 218.978,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.15069,
    "h": 261.4
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#2D5DB6
secondary
#C8AB77
accent
#AC44E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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