#2D62BB#2D62BB

#2D62BB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.151 H 260.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2D62BB
RGBrgb(45, 98, 187)
HSLhsl(218, 61%, 45%)
HSVhsv(218, 76%, 73%)
CMYKcmyk(75.9%, 47.6%, 0%, 26.7%)
CIE-LABlab(42.58, 14.15, -51.98)
CIE-LCHlch(42.58, 53.87, 285.22°)
OKLaboklab(50.95% -0.0259 -0.1492)
OKLCHoklch(50.95% 0.151 260.2)
XYZxyz(14.4163, 12.8795, 48.7303)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62BB #BB862D
analogous
#2DA9BB #2D62BB #3F2DBB
triadic
#2D62BB #BB2D62 #62BB2D
tetradic
#2D62BB #BB2DA9 #BB862D #2DBB3F
square
#2D62BB #BB2DA9 #BB862D #2DBB3F
split-complementary
#2D62BB #BB3F2D #A9BB2D
monochromatic
#152E58 #21488A #2D62BB #5082D5 #82A5E1

Accessibility & contrast

On white

5.87
#2D62BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2D62BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62BB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62BB#FFFFFF#000000##FFFFFF
##2D62BB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#055EB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d62bb;
/* rgb */ color: rgb(45, 98, 187);
/* oklch */ color: oklch(51.0% 0.151 260.2);
Tailwind
colors: {
  custom: {
    50: '#7a8ed0',
    500: '#2d62bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d62bb;
$custom-light: #7a8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62bb",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 217.606,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.15146,
    "h": 260.2
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#2D62BB
secondary
#CAAC7A
accent
#A843E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2D62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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