#2E62AD#2E62AD

#2E62AD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.0% C 0.132 H 257.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2E62AD
RGBrgb(46, 98, 173)
HSLhsl(215, 58%, 43%)
HSVhsv(215, 73%, 68%)
CMYKcmyk(73.4%, 43.4%, 0%, 32.2%)
CIE-LABlab(41.74, 8.97, -45.13)
CIE-LCHlch(41.74, 46.01, 281.24°)
OKLaboklab(50.03% -0.0277 -0.1291)
OKLCHoklch(50.03% 0.132 257.9)
XYZxyz(13.0345, 12.3319, 41.2204)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62AD #AD792E
analogous
#2EA1AD #2E62AD #392EAD
triadic
#2E62AD #AD2E62 #62AD2E
tetradic
#2E62AD #AD2EA1 #AD792E #2EAD39
square
#2E62AD #AD2EA1 #AD792E #2EAD39
split-complementary
#2E62AD #AD392E #A1AD2E
monochromatic
#142B4C #21477D #2E62AD #4980CF #7AA2DC

Accessibility & contrast

On white

6.06
#2E62AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E62AD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62AD#FFFFFF#000000##FFFFFF
##2E62AD1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B0
Deuteranopia (green-blind)
#275DAB
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e62ad;
/* rgb */ color: rgb(46, 98, 173);
/* oklch */ color: oklch(50.0% 0.132 257.9);
Tailwind
colors: {
  custom: {
    50: '#778ec6',
    500: '#2e62ad',
    950: '#000000',
  },
}
SCSS
$custom: #2e62ad;
$custom-light: #778ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62ad",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 173
  },
  "hsl": {
    "h": 215.433,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50031,
    "c": 0.13202,
    "h": 257.9
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#2E62AD
secondary
#C4A373
accent
#A247E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E62AD

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

Preview Lab → · Contrast checker → · Palette generator →

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