#2D5BB4#2D5BB4

#2D5BB4 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.150 H 261.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2D5BB4
RGBrgb(45, 91, 180)
HSLhsl(220, 60%, 44%)
HSVhsv(220, 75%, 71%)
CMYKcmyk(75%, 49.4%, 0%, 29.4%)
CIE-LABlab(40.14, 16.03, -51.82)
CIE-LCHlch(40.14, 54.25, 287.19°)
OKLaboklab(48.93% -0.0211 -0.1489)
OKLCHoklch(48.93% 0.15 261.9)
XYZxyz(13.0585, 11.3339, 44.6706)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BB4 #B4862D
analogous
#2D9FB4 #2D5BB4 #432DB4
triadic
#2D5BB4 #B42D5B #5BB42D
tetradic
#2D5BB4 #B42D9F #B4862D #2DB443
square
#2D5BB4 #B42D9F #B4862D #2DB443
split-complementary
#2D5BB4 #B4432D #9FB42D
monochromatic
#152952 #214283 #2D5BB4 #4C7AD2 #7D9EDE

Accessibility & contrast

On white

6.43
#2D5BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2D5BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5BB4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BB4#FFFFFF#000000##FFFFFF
##2D5BB41.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5bb4;
/* rgb */ color: rgb(45, 91, 180);
/* oklch */ color: oklch(48.9% 0.150 261.9);
Tailwind
colors: {
  custom: {
    50: '#7988cb',
    500: '#2d5bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d5bb4;
$custom-light: #7988cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5bb4",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 219.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48931,
    "c": 0.15039,
    "h": 261.9
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#2D5BB4
secondary
#C7AB76
accent
#AD45E3
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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