#2D62C0#2D62C0

#2D62C0 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.158 H 260.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2D62C0
RGBrgb(45, 98, 192)
HSLhsl(218, 62%, 46%)
HSVhsv(218, 77%, 75%)
CMYKcmyk(76.6%, 49%, 0%, 24.7%)
CIE-LABlab(42.91, 16.05, -54.36)
CIE-LCHlch(42.91, 56.68, 286.45°)
OKLaboklab(51.31% -0.0251 -0.1562)
OKLCHoklch(51.31% 0.158 260.9)
XYZxyz(14.9609, 13.0973, 51.5985)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62C0 #C08B2D
analogous
#2DACC0 #2D62C0 #422DC0
triadic
#2D62C0 #C02D62 #62C02D
tetradic
#2D62C0 #C02DAC #C08B2D #2DC042
square
#2D62C0 #C02DAC #C08B2D #2DC042
split-complementary
#2D62C0 #C0422D #ACC02D
monochromatic
#162F5D #21498E #2D62C0 #5383D7 #85A7E2

Accessibility & contrast

On white

5.80
#2D62C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2D62C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62C0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62C0#FFFFFF#000000##FFFFFF
##2D62C01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d62c0;
/* rgb */ color: rgb(45, 98, 192);
/* oklch */ color: oklch(51.3% 0.158 260.9);
Tailwind
colors: {
  custom: {
    50: '#7b8ed4',
    500: '#2d62c0',
    950: '#000000',
  },
}
SCSS
$custom: #2d62c0;
$custom-light: #7b8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62c0",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 192
  },
  "hsl": {
    "h": 218.367,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.15824,
    "h": 260.9
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#2D62C0
secondary
#CCAF7D
accent
#AB43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D62C0

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

Preview Lab → · Contrast checker → · Palette generator →

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