#2D62BC#2D62BC

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

Color values

HEX#2D62BC
RGBrgb(45, 98, 188)
HSLhsl(218, 61%, 46%)
HSVhsv(218, 76%, 74%)
CMYKcmyk(76.1%, 47.9%, 0%, 26.3%)
CIE-LABlab(42.65, 14.53, -52.46)
CIE-LCHlch(42.65, 54.43, 285.48°)
OKLaboklab(51.02% -0.0257 -0.1506)
OKLCHoklch(51.02% 0.153 260.3)
XYZxyz(14.5237, 12.9224, 49.2960)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62BC #BC872D
analogous
#2DA9BC #2D62BC #3F2DBC
triadic
#2D62BC #BC2D62 #62BC2D
tetradic
#2D62BC #BC2DA9 #BC872D #2DBC3F
square
#2D62BC #BC2DA9 #BC872D #2DBC3F
split-complementary
#2D62BC #BC3F2D #A9BC2D
monochromatic
#152F59 #21488B #2D62BC #5182D5 #82A5E1

Accessibility & contrast

On white

5.86
#2D62BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D62BC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62BC#FFFFFF#000000##FFFFFF
##2D62BC1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#005FBA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d62bc;
/* rgb */ color: rgb(45, 98, 188);
/* oklch */ color: oklch(51.0% 0.153 260.3);
Tailwind
colors: {
  custom: {
    50: '#7a8ed1',
    500: '#2d62bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d62bc;
$custom-light: #7a8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62bc",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 217.762,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.15282,
    "h": 260.3
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#2D62BC
secondary
#CAAD7B
accent
#A943E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2D62BC

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

Preview Lab → · Contrast checker → · Palette generator →

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