#2E5EC1#2E5EC1

#2E5EC1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.164 H 262.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2E5EC1
RGBrgb(46, 94, 193)
HSLhsl(220, 62%, 47%)
HSVhsv(220, 76%, 76%)
CMYKcmyk(76.2%, 51.3%, 0%, 24.3%)
CIE-LABlab(41.90, 19.14, -56.57)
CIE-LCHlch(41.90, 59.72, 288.69°)
OKLaboklab(50.57% -0.0211 -0.1628)
OKLCHoklch(50.57% 0.164 262.6)
XYZxyz(14.7516, 12.4348, 52.0644)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EC1 #C1912E
analogous
#2EA8C1 #2E5EC1 #482EC1
triadic
#2E5EC1 #C12E5E #5EC12E
tetradic
#2E5EC1 #C12EA8 #C1912E #2EC148
square
#2E5EC1 #C12EA8 #C1912E #2EC148
split-complementary
#2E5EC1 #C1482E #A8C12E
monochromatic
#162E5E #224690 #2E5EC1 #5680D7 #87A5E2

Accessibility & contrast

On white

6.02
#2E5EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2E5EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EC1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EC1#FFFFFF#000000##FFFFFF
##2E5EC11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6AC5
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e5ec1;
/* rgb */ color: rgb(46, 94, 193);
/* oklch */ color: oklch(50.6% 0.164 262.6);
Tailwind
colors: {
  custom: {
    50: '#7c8bd4',
    500: '#2e5ec1',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ec1;
$custom-light: #7c8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ec1",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 220.408,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5057,
    "c": 0.16417,
    "h": 262.6
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#2E5EC1
secondary
#CCB37F
accent
#B043E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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