#2D5AB6#2D5AB6

#2D5AB6 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.154 H 262.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2D5AB6
RGBrgb(45, 90, 182)
HSLhsl(220, 60%, 45%)
HSVhsv(220, 75%, 71%)
CMYKcmyk(75.3%, 50.5%, 0%, 28.6%)
CIE-LABlab(39.99, 17.45, -53.23)
CIE-LCHlch(39.99, 56.02, 288.15°)
OKLaboklab(48.86% -0.02 -0.1531)
OKLCHoklch(48.86% 0.154 262.5)
XYZxyz(13.1788, 11.2461, 45.7231)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5AB6 #B6892D
analogous
#2D9FB6 #2D5AB6 #452DB6
triadic
#2D5AB6 #B62D5A #5AB62D
tetradic
#2D5AB6 #B62D9F #B6892D #2DB645
square
#2D5AB6 #B62D9F #B6892D #2DB645
split-complementary
#2D5AB6 #B6452D #9FB62D
monochromatic
#152954 #214285 #2D5AB6 #4D79D3 #7E9EDF

Accessibility & contrast

On white

6.46
#2D5AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2D5AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5AB6
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5AB6#FFFFFF#000000##FFFFFF
##2D5AB61.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265B9
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5ab6;
/* rgb */ color: rgb(45, 90, 182);
/* oklch */ color: oklch(48.9% 0.154 262.5);
Tailwind
colors: {
  custom: {
    50: '#7988cc',
    500: '#2d5ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ab6;
$custom-light: #7988cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ab6",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 182
  },
  "hsl": {
    "h": 220.292,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48864,
    "c": 0.15436,
    "h": 262.5
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#2D5AB6
secondary
#C8AD77
accent
#AF44E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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