#2E5EC0#2E5EC0

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

Color values

HEX#2E5EC0
RGBrgb(46, 94, 192)
HSLhsl(220, 61%, 47%)
HSVhsv(220, 76%, 75%)
CMYKcmyk(76%, 51%, 0%, 24.7%)
CIE-LABlab(41.83, 18.76, -56.10)
CIE-LCHlch(41.83, 59.15, 288.49°)
OKLaboklab(50.5% -0.0213 -0.1614)
OKLCHoklch(50.5% 0.163 262.5)
XYZxyz(14.6404, 12.3904, 51.4789)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EC0 #C0902E
analogous
#2EA7C0 #2E5EC0 #472EC0
triadic
#2E5EC0 #C02E5E #5EC02E
tetradic
#2E5EC0 #C02EA7 #C0902E #2EC047
square
#2E5EC0 #C02EA7 #C0902E #2EC047
split-complementary
#2E5EC0 #C0472E #A7C02E
monochromatic
#162E5D #22468F #2E5EC0 #557FD6 #86A4E2

Accessibility & contrast

On white

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

On black

3.48
#2E5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E5EC0#FFFFFF#000000##FFFFFF
##2E5EC01.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5ec0;
/* rgb */ color: rgb(46, 94, 192);
/* oklch */ color: oklch(50.5% 0.163 262.5);
Tailwind
colors: {
  custom: {
    50: '#7c8bd4',
    500: '#2e5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ec0;
$custom-light: #7c8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ec0",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 220.274,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50495,
    "c": 0.16281,
    "h": 262.5
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#2E5EC0
secondary
#CCB27E
accent
#AF43E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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