#2D5DB2#2D5DB2

#2D5DB2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.145 H 260.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2D5DB2
RGBrgb(45, 93, 178)
HSLhsl(218, 60%, 44%)
HSVhsv(218, 75%, 70%)
CMYKcmyk(74.7%, 47.8%, 0%, 30.2%)
CIE-LABlab(40.57, 13.96, -49.95)
CIE-LCHlch(40.57, 51.86, 285.62°)
OKLaboklab(49.22% -0.0231 -0.1433)
OKLCHoklch(49.22% 0.145 260.8)
XYZxyz(13.0295, 11.5995, 43.6631)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DB2 #B2822D
analogous
#2D9FB2 #2D5DB2 #3F2DB2
triadic
#2D5DB2 #B22D5D #5DB22D
tetradic
#2D5DB2 #B22D9F #B2822D #2DB23F
square
#2D5DB2 #B22D9F #B2822D #2DB23F
split-complementary
#2D5DB2 #B23F2D #9FB22D
monochromatic
#142A50 #214381 #2D5DB2 #4B7BD1 #7C9FDE

Accessibility & contrast

On white

6.32
#2D5DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2D5DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DB2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DB2#FFFFFF#000000##FFFFFF
##2D5DB21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#085AB0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5db2;
/* rgb */ color: rgb(45, 93, 178);
/* oklch */ color: oklch(49.2% 0.145 260.8);
Tailwind
colors: {
  custom: {
    50: '#788aca',
    500: '#2d5db2',
    950: '#000000',
  },
}
SCSS
$custom: #2d5db2;
$custom-light: #788aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5db2",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 218.346,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49223,
    "c": 0.14519,
    "h": 260.8
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#2D5DB2
secondary
#C6A975
accent
#AA45E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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