#2E62C0#2E62C0

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

Color values

HEX#2E62C0
RGBrgb(46, 98, 192)
HSLhsl(219, 61%, 47%)
HSVhsv(219, 76%, 75%)
CMYKcmyk(76%, 49%, 0%, 24.7%)
CIE-LABlab(42.94, 16.17, -54.30)
CIE-LCHlch(42.94, 56.66, 286.58°)
OKLaboklab(51.35% -0.0244 -0.156)
OKLCHoklch(51.35% 0.158 261.1)
XYZxyz(15.0054, 13.1203, 51.6006)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62C0 #C08C2E
analogous
#2EABC0 #2E62C0 #432EC0
triadic
#2E62C0 #C02E62 #62C02E
tetradic
#2E62C0 #C02EAB #C08C2E #2EC043
square
#2E62C0 #C02EAB #C08C2E #2EC043
split-complementary
#2E62C0 #C0432E #ABC02E
monochromatic
#16305D #22498F #2E62C0 #5583D6 #86A7E2

Accessibility & contrast

On white

5.79
#2E62C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E62C0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62C0#FFFFFF#000000##FFFFFF
##2E62C01.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e62c0;
/* rgb */ color: rgb(46, 98, 192);
/* oklch */ color: oklch(51.3% 0.158 261.1);
Tailwind
colors: {
  custom: {
    50: '#7b8ed4',
    500: '#2e62c0',
    950: '#000000',
  },
}
SCSS
$custom: #2e62c0;
$custom-light: #7b8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62c0",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 192
  },
  "hsl": {
    "h": 218.63,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.15795,
    "h": 261.1
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#2E62C0
secondary
#CCB07E
accent
#AB43E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2E62C0

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

Preview Lab → · Contrast checker → · Palette generator →

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