#2D62C2#2D62C2

#2D62C2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.5% C 0.161 H 261.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2D62C2
RGBrgb(45, 98, 194)
HSLhsl(219, 62%, 47%)
HSVhsv(219, 77%, 76%)
CMYKcmyk(76.8%, 49.5%, 0%, 23.9%)
CIE-LABlab(43.04, 16.81, -55.30)
CIE-LCHlch(43.04, 57.80, 286.90°)
OKLaboklab(51.46% -0.0249 -0.159)
OKLCHoklch(51.46% 0.161 261.1)
XYZxyz(15.1840, 13.1866, 52.7735)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62C2 #C28D2D
analogous
#2DADC2 #2D62C2 #432DC2
triadic
#2D62C2 #C22D62 #62C22D
tetradic
#2D62C2 #C22DAD #C28D2D #2DC243
square
#2D62C2 #C22DAD #C28D2D #2DC243
split-complementary
#2D62C2 #C2432D #ADC22D
monochromatic
#16305F #214990 #2D62C2 #5583D7 #86A7E3

Accessibility & contrast

On white

5.77
#2D62C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2D62C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62C2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62C2#FFFFFF#000000##FFFFFF
##2D62C21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d62c2;
/* rgb */ color: rgb(45, 98, 194);
/* oklch */ color: oklch(51.5% 0.161 261.1);
Tailwind
colors: {
  custom: {
    50: '#7c8ed5',
    500: '#2d62c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d62c2;
$custom-light: #7c8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62c2",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 218.658,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51455,
    "c": 0.16094,
    "h": 261.1
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#2D62C2
secondary
#CDB17E
accent
#AB42E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D62C2

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

Preview Lab → · Contrast checker → · Palette generator →

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