#2E62AB#2E62AB

#2E62AB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 49.9% C 0.129 H 257.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2E62AB
RGBrgb(46, 98, 171)
HSLhsl(215, 58%, 43%)
HSVhsv(215, 73%, 67%)
CMYKcmyk(73.1%, 42.7%, 0%, 32.9%)
CIE-LABlab(41.62, 8.21, -44.15)
CIE-LCHlch(41.62, 44.90, 280.54°)
OKLaboklab(49.9% -0.0281 -0.1262)
OKLCHoklch(49.9% 0.129 257.4)
XYZxyz(12.8424, 12.2551, 40.2088)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62AB #AB772E
analogous
#2EA1AB #2E62AB #382EAB
triadic
#2E62AB #AB2E62 #62AB2E
tetradic
#2E62AB #AB2EA1 #AB772E #2EAB38
square
#2E62AB #AB2EA1 #AB772E #2EAB38
split-complementary
#2E62AB #AB382E #A1AB2E
monochromatic
#142B4B #21467B #2E62AB #4880CE #79A1DB

Accessibility & contrast

On white

6.08
#2E62AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2E62AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62AB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62AB#FFFFFF#000000##FFFFFF
##2E62AB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AE
Deuteranopia (green-blind)
#295DAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e62ab;
/* rgb */ color: rgb(46, 98, 171);
/* oklch */ color: oklch(49.9% 0.129 257.4);
Tailwind
colors: {
  custom: {
    50: '#778ec4',
    500: '#2e62ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e62ab;
$custom-light: #778ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62ab",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 215.04,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.12928,
    "h": 257.4
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#2E62AB
secondary
#C3A172
accent
#A147E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E62AB

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

Preview Lab → · Contrast checker → · Palette generator →

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