#2E62AC#2E62AC

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

Color values

HEX#2E62AC
RGBrgb(46, 98, 172)
HSLhsl(215, 58%, 43%)
HSVhsv(215, 73%, 67%)
CMYKcmyk(73.3%, 43%, 0%, 32.5%)
CIE-LABlab(41.68, 8.59, -44.64)
CIE-LCHlch(41.68, 45.46, 280.89°)
OKLaboklab(49.97% -0.0279 -0.1276)
OKLCHoklch(49.97% 0.131 257.7)
XYZxyz(12.9381, 12.2933, 40.7127)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62AC #AC782E
analogous
#2EA1AC #2E62AC #392EAC
triadic
#2E62AC #AC2E62 #62AC2E
tetradic
#2E62AC #AC2EA1 #AC782E #2EAC39
square
#2E62AC #AC2EA1 #AC782E #2EAC39
split-complementary
#2E62AC #AC392E #A1AC2E
monochromatic
#142B4B #21467C #2E62AC #4980CE #79A2DB

Accessibility & contrast

On white

6.07
#2E62AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2E62AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62AC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62AC#FFFFFF#000000##FFFFFF
##2E62AC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69AF
Deuteranopia (green-blind)
#285DAB
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e62ac;
/* rgb */ color: rgb(46, 98, 172);
/* oklch */ color: oklch(50.0% 0.131 257.7);
Tailwind
colors: {
  custom: {
    50: '#778ec5',
    500: '#2e62ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e62ac;
$custom-light: #778ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62ac",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 215.238,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49965,
    "c": 0.13065,
    "h": 257.7
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E62AC

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

Preview Lab → · Contrast checker → · Palette generator →

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