#2E62B5#2E62B5

#2E62B5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.143 H 259.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2E62B5
RGBrgb(46, 98, 181)
HSLhsl(217, 59%, 45%)
HSVhsv(217, 75%, 71%)
CMYKcmyk(74.6%, 45.9%, 0%, 29%)
CIE-LABlab(42.23, 12.00, -49.04)
CIE-LCHlch(42.23, 50.48, 283.75°)
OKLaboklab(50.57% -0.0262 -0.1406)
OKLCHoklch(50.57% 0.143 259.4)
XYZxyz(13.8319, 12.6509, 45.4200)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62B5 #B5812E
analogous
#2EA6B5 #2E62B5 #3E2EB5
triadic
#2E62B5 #B52E62 #62B52E
tetradic
#2E62B5 #B52EA6 #B5812E #2EB53E
square
#2E62B5 #B52EA6 #B5812E #2EB53E
split-complementary
#2E62B5 #B53E2E #A6B52E
monochromatic
#152D53 #224884 #2E62B5 #4E81D2 #7FA4DE

Accessibility & contrast

On white

5.95
#2E62B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2E62B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62B5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62B5#FFFFFF#000000##FFFFFF
##2E62B51.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB8
Deuteranopia (green-blind)
#195EB3
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e62b5;
/* rgb */ color: rgb(46, 98, 181);
/* oklch */ color: oklch(50.6% 0.143 259.4);
Tailwind
colors: {
  custom: {
    50: '#798ecc',
    500: '#2e62b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e62b5;
$custom-light: #798ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62b5",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 181
  },
  "hsl": {
    "h": 216.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.14298,
    "h": 259.4
  },
  "luminance": 0.12652
}

Semantic roles & 50–950 ramp

primary
#2E62B5
secondary
#C7A978
accent
#A645E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E62B5

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

Preview Lab → · Contrast checker → · Palette generator →

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