#2E62C7#2E62C7

#2E62C7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.167 H 261.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2E62C7
RGBrgb(46, 98, 199)
HSLhsl(220, 62%, 48%)
HSVhsv(220, 77%, 78%)
CMYKcmyk(76.9%, 50.8%, 0%, 22%)
CIE-LABlab(43.42, 18.82, -57.59)
CIE-LCHlch(43.42, 60.59, 288.09°)
OKLaboklab(51.86% -0.0235 -0.1657)
OKLCHoklch(51.86% 0.167 261.9)
XYZxyz(15.7995, 13.4379, 55.7828)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62C7 #C7932E
analogous
#2EAEC7 #2E62C7 #472EC7
triadic
#2E62C7 #C72E62 #62C72E
tetradic
#2E62C7 #C72EAE #C7932E #2EC747
square
#2E62C7 #C72EAE #C7932E #2EC747
split-complementary
#2E62C7 #C7472E #AEC72E
monochromatic
#173164 #234A95 #2E62C7 #5985D9 #8BA9E4

Accessibility & contrast

On white

5.69
#2E62C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2E62C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62C7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62C7#FFFFFF#000000##FFFFFF
##2E62C71.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226ECB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e62c7;
/* rgb */ color: rgb(46, 98, 199);
/* oklch */ color: oklch(51.9% 0.167 261.9);
Tailwind
colors: {
  custom: {
    50: '#7d8ed9',
    500: '#2e62c7',
    950: '#000000',
  },
}
SCSS
$custom: #2e62c7;
$custom-light: #7d8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62c7",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 219.608,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.16739,
    "h": 261.9
  },
  "luminance": 0.1344
}

Semantic roles & 50–950 ramp

primary
#2E62C7
secondary
#CEB583
accent
#AE42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2E62C7

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

Preview Lab → · Contrast checker → · Palette generator →

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