#2E62C2#2E62C2

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

Color values

HEX#2E62C2
RGBrgb(46, 98, 194)
HSLhsl(219, 62%, 47%)
HSVhsv(219, 76%, 76%)
CMYKcmyk(76.3%, 49.5%, 0%, 23.9%)
CIE-LABlab(43.08, 16.92, -55.25)
CIE-LCHlch(43.08, 57.78, 287.03°)
OKLaboklab(51.49% -0.0242 -0.1588)
OKLCHoklch(51.49% 0.161 261.3)
XYZxyz(15.2285, 13.2095, 52.7756)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62C2 #C28E2E
analogous
#2EACC2 #2E62C2 #442EC2
triadic
#2E62C2 #C22E62 #62C22E
tetradic
#2E62C2 #C22EAC #C28E2E #2EC244
square
#2E62C2 #C22EAC #C28E2E #2EC244
split-complementary
#2E62C2 #C2442E #ACC22E
monochromatic
#17305F #224991 #2E62C2 #5683D7 #88A8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E62C2#FFFFFF#000000##FFFFFF
##2E62C21.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: #2e62c2;
/* rgb */ color: rgb(46, 98, 194);
/* oklch */ color: oklch(51.5% 0.161 261.3);
Tailwind
colors: {
  custom: {
    50: '#7c8ed5',
    500: '#2e62c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e62c2;
$custom-light: #7c8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62c2",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 218.919,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.16066,
    "h": 261.3
  },
  "luminance": 0.13211
}

Semantic roles & 50–950 ramp

primary
#2E62C2
secondary
#CCB17F
accent
#AC43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2E62C2

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

Preview Lab → · Contrast checker → · Palette generator →

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