#2E62B4#2E62B4

#2E62B4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.142 H 259.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2E62B4
RGBrgb(46, 98, 180)
HSLhsl(217, 59%, 44%)
HSVhsv(217, 74%, 71%)
CMYKcmyk(74.4%, 45.6%, 0%, 29.4%)
CIE-LABlab(42.17, 11.62, -48.55)
CIE-LCHlch(42.17, 49.92, 283.45°)
OKLaboklab(50.5% -0.0264 -0.1391)
OKLCHoklch(50.5% 0.142 259.3)
XYZxyz(13.7296, 12.6100, 44.8815)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62B4 #B4802E
analogous
#2EA5B4 #2E62B4 #3D2EB4
triadic
#2E62B4 #B42E62 #62B42E
tetradic
#2E62B4 #B42EA5 #B4802E #2EB43D
square
#2E62B4 #B42EA5 #B4802E #2EB43D
split-complementary
#2E62B4 #B43D2E #A5B42E
monochromatic
#152D53 #224783 #2E62B4 #4E81D2 #7EA3DE

Accessibility & contrast

On white

5.96
#2E62B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2E62B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62B4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62B4#FFFFFF#000000##FFFFFF
##2E62B41.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#1B5EB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e62b4;
/* rgb */ color: rgb(46, 98, 180);
/* oklch */ color: oklch(50.5% 0.142 259.3);
Tailwind
colors: {
  custom: {
    50: '#798ecb',
    500: '#2e62b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e62b4;
$custom-light: #798ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62b4",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 216.716,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.14161,
    "h": 259.3
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#2E62B4
secondary
#C7A877
accent
#A545E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E62B4

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

Preview Lab → · Contrast checker → · Palette generator →

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