#2C62D4#2C62D4

#2C62D4 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.8% C 0.185 H 262.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2C62D4
RGBrgb(44, 98, 212)
HSLhsl(221, 66%, 50%)
HSVhsv(221, 79%, 83%)
CMYKcmyk(79.2%, 53.8%, 0%, 16.9%)
CIE-LABlab(44.26, 23.52, -63.69)
CIE-LCHlch(44.26, 67.89, 290.27°)
OKLaboklab(52.78% -0.0235 -0.1837)
OKLCHoklch(52.78% 0.185 262.7)
XYZxyz(17.2858, 14.0223, 64.0701)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62D4 #D49E2C
analogous
#2CB6D4 #2C62D4 #4A2CD4
triadic
#2C62D4 #D42C62 #62D42C
tetradic
#2C62D4 #D42CB6 #D49E2C #2CD44A
square
#2C62D4 #D42CB6 #D49E2C #2CD44A
split-complementary
#2C62D4 #D44A2C #B6D42C
monochromatic
#17336F #214AA2 #2C62D4 #5F88DE #92AEE9

Accessibility & contrast

On white

5.52
#2C62D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2C62D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62D4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62D4#FFFFFF#000000##FFFFFF
##2C62D41.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c62d4;
/* rgb */ color: rgb(44, 98, 212);
/* oklch */ color: oklch(52.8% 0.185 262.7);
Tailwind
colors: {
  custom: {
    50: '#7f8ee2',
    500: '#2c62d4',
    950: '#000000',
  },
}
SCSS
$custom: #2c62d4;
$custom-light: #7f8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62d4",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 220.714,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.1852,
    "h": 262.7
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#2C62D4
secondary
#D3BB88
accent
#B23FE9
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2C62D4

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

Preview Lab → · Contrast checker → · Palette generator →

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