#2D5FBB#2D5FBB

#2D5FBB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.155 H 261.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2D5FBB
RGBrgb(45, 95, 187)
HSLhsl(219, 61%, 45%)
HSVhsv(219, 76%, 73%)
CMYKcmyk(75.9%, 49.2%, 0%, 26.7%)
CIE-LABlab(41.73, 16.09, -53.35)
CIE-LCHlch(41.73, 55.72, 286.78°)
OKLaboklab(50.3% -0.0234 -0.1533)
OKLCHoklch(50.3% 0.155 261.3)
XYZxyz(14.1408, 12.3286, 48.6385)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FBB #BB892D
analogous
#2DA6BB #2D5FBB #422DBB
triadic
#2D5FBB #BB2D5F #5FBB2D
tetradic
#2D5FBB #BB2DA6 #BB892D #2DBB42
square
#2D5FBB #BB2DA6 #BB892D #2DBB42
split-complementary
#2D5FBB #BB422D #A6BB2D
monochromatic
#152D58 #21468A #2D5FBB #507FD5 #82A3E1

Accessibility & contrast

On white

6.06
#2D5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2D5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FBB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FBB#FFFFFF#000000##FFFFFF
##2D5FBB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d5fbb;
/* rgb */ color: rgb(45, 95, 187);
/* oklch */ color: oklch(50.3% 0.155 261.3);
Tailwind
colors: {
  custom: {
    50: '#7a8bd0',
    500: '#2d5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fbb;
$custom-light: #7a8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fbb",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 218.873,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50303,
    "c": 0.15509,
    "h": 261.3
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#2D5FBB
secondary
#CAAE7A
accent
#AC43E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2D5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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