#2D5DBB#2D5DBB

#2D5DBB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.158 H 262.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2D5DBB
RGBrgb(45, 93, 187)
HSLhsl(220, 61%, 45%)
HSVhsv(220, 76%, 73%)
CMYKcmyk(75.9%, 50.3%, 0%, 26.7%)
CIE-LABlab(41.17, 17.39, -54.25)
CIE-LCHlch(41.17, 56.97, 287.77°)
OKLaboklab(49.88% -0.0218 -0.156)
OKLCHoklch(49.88% 0.158 262)
XYZxyz(13.9630, 11.9729, 48.5792)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DBB #BB8B2D
analogous
#2DA4BB #2D5DBB #442DBB
triadic
#2D5DBB #BB2D5D #5DBB2D
tetradic
#2D5DBB #BB2DA4 #BB8B2D #2DBB44
square
#2D5DBB #BB2DA4 #BB8B2D #2DBB44
split-complementary
#2D5DBB #BB442D #A4BB2D
monochromatic
#152C58 #21448A #2D5DBB #507DD5 #82A2E1

Accessibility & contrast

On white

6.19
#2D5DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2D5DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DBB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DBB#FFFFFF#000000##FFFFFF
##2D5DBB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d5dbb;
/* rgb */ color: rgb(45, 93, 187);
/* oklch */ color: oklch(49.9% 0.158 262.0);
Tailwind
colors: {
  custom: {
    50: '#7a8ad0',
    500: '#2d5dbb',
    950: '#000000',
  },
}
SCSS
$custom: #2d5dbb;
$custom-light: #7a8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5dbb",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 219.718,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49875,
    "c": 0.15753,
    "h": 262
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#2D5DBB
secondary
#CAAF7A
accent
#AE43E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D5DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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