#2E5EC2#2E5EC2

#2E5EC2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.166 H 262.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2E5EC2
RGBrgb(46, 94, 194)
HSLhsl(221, 62%, 47%)
HSVhsv(221, 76%, 76%)
CMYKcmyk(76.3%, 51.5%, 0%, 23.9%)
CIE-LABlab(41.97, 19.52, -57.04)
CIE-LCHlch(41.97, 60.28, 288.89°)
OKLaboklab(50.65% -0.021 -0.1642)
OKLCHoklch(50.65% 0.166 262.7)
XYZxyz(14.8635, 12.4796, 52.6539)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EC2 #C2922E
analogous
#2EA8C2 #2E5EC2 #482EC2
triadic
#2E5EC2 #C22E5E #5EC22E
tetradic
#2E5EC2 #C22EA8 #C2922E #2EC248
square
#2E5EC2 #C22EA8 #C2922E #2EC248
split-complementary
#2E5EC2 #C2482E #A8C22E
monochromatic
#172E5F #224691 #2E5EC2 #5680D7 #88A5E3

Accessibility & contrast

On white

6.01
#2E5EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2E5EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EC2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EC2#FFFFFF#000000##FFFFFF
##2E5EC21.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e5ec2;
/* rgb */ color: rgb(46, 94, 194);
/* oklch */ color: oklch(50.6% 0.166 262.7);
Tailwind
colors: {
  custom: {
    50: '#7c8bd5',
    500: '#2e5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ec2;
$custom-light: #7c8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ec2",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 220.541,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50645,
    "c": 0.16551,
    "h": 262.7
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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