#2D5DBF#2D5DBF

#2D5DBF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.163 H 262.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2D5DBF
RGBrgb(45, 93, 191)
HSLhsl(220, 62%, 46%)
HSVhsv(220, 76%, 75%)
CMYKcmyk(76.4%, 51.3%, 0%, 25.1%)
CIE-LABlab(41.45, 18.91, -56.14)
CIE-LCHlch(41.45, 59.24, 288.62°)
OKLaboklab(50.17% -0.0213 -0.1616)
OKLCHoklch(50.17% 0.163 262.5)
XYZxyz(14.3971, 12.1465, 50.8659)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DBF #BF8F2D
analogous
#2DA6BF #2D5DBF #462DBF
triadic
#2D5DBF #BF2D5D #5DBF2D
tetradic
#2D5DBF #BF2DA6 #BF8F2D #2DBF46
square
#2D5DBF #BF2DA6 #BF8F2D #2DBF46
split-complementary
#2D5DBF #BF462D #A6BF2D
monochromatic
#162D5C #21458D #2D5DBF #537ED6 #84A3E2

Accessibility & contrast

On white

6.12
#2D5DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2D5DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DBF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DBF#FFFFFF#000000##FFFFFF
##2D5DBF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d5dbf;
/* rgb */ color: rgb(45, 93, 191);
/* oklch */ color: oklch(50.2% 0.163 262.5);
Tailwind
colors: {
  custom: {
    50: '#7b8ad3',
    500: '#2d5dbf',
    950: '#000000',
  },
}
SCSS
$custom: #2d5dbf;
$custom-light: #7b8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5dbf",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 220.274,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.16296,
    "h": 262.5
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#2D5DBF
secondary
#CBB17C
accent
#B043E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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