#2E62AE#2E62AE

#2E62AE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.1% C 0.133 H 258.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2E62AE
RGBrgb(46, 98, 174)
HSLhsl(216, 58%, 43%)
HSVhsv(216, 74%, 68%)
CMYKcmyk(73.6%, 43.7%, 0%, 31.8%)
CIE-LABlab(41.80, 9.35, -45.62)
CIE-LCHlch(41.80, 46.57, 281.58°)
OKLaboklab(50.1% -0.0275 -0.1305)
OKLCHoklch(50.1% 0.133 258.1)
XYZxyz(13.1316, 12.3708, 41.7319)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62AE #AE7A2E
analogous
#2EA2AE #2E62AE #3A2EAE
triadic
#2E62AE #AE2E62 #62AE2E
tetradic
#2E62AE #AE2EA2 #AE7A2E #2EAE3A
square
#2E62AE #AE2EA2 #AE7A2E #2EAE3A
split-complementary
#2E62AE #AE3A2E #A2AE2E
monochromatic
#142B4D #21477E #2E62AE #4A80CF #7AA2DC

Accessibility & contrast

On white

6.04
#2E62AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2E62AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62AE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62AE#FFFFFF#000000##FFFFFF
##2E62AE1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e62ae;
/* rgb */ color: rgb(46, 98, 174);
/* oklch */ color: oklch(50.1% 0.133 258.1);
Tailwind
colors: {
  custom: {
    50: '#788ec7',
    500: '#2e62ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e62ae;
$custom-light: #788ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62ae",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 215.625,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.13339,
    "h": 258.1
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

primary
#2E62AE
secondary
#C4A374
accent
#A246E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E62AE

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

Preview Lab → · Contrast checker → · Palette generator →

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