#2E5EC3#2E5EC3

#2E5EC3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.167 H 262.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2E5EC3
RGBrgb(46, 94, 195)
HSLhsl(221, 62%, 47%)
HSVhsv(221, 76%, 76%)
CMYKcmyk(76.4%, 51.8%, 0%, 23.5%)
CIE-LABlab(42.04, 19.89, -57.51)
CIE-LCHlch(42.04, 60.85, 289.08°)
OKLaboklab(50.72% -0.0209 -0.1655)
OKLCHoklch(50.72% 0.167 262.8)
XYZxyz(14.9762, 12.5247, 53.2474)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EC3 #C3932E
analogous
#2EA9C3 #2E5EC3 #482EC3
triadic
#2E5EC3 #C32E5E #5EC32E
tetradic
#2E5EC3 #C32EA9 #C3932E #2EC348
square
#2E5EC3 #C32EA9 #C3932E #2EC348
split-complementary
#2E5EC3 #C3482E #A9C32E
monochromatic
#172E60 #224691 #2E5EC3 #5780D7 #88A6E3

Accessibility & contrast

On white

5.99
#2E5EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2E5EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EC3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EC3#FFFFFF#000000##FFFFFF
##2E5EC31.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5ec3;
/* rgb */ color: rgb(46, 94, 195);
/* oklch */ color: oklch(50.7% 0.167 262.8);
Tailwind
colors: {
  custom: {
    50: '#7c8bd6',
    500: '#2e5ec3',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ec3;
$custom-light: #7c8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ec3",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 220.671,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.16687,
    "h": 262.8
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#2E5EC3
secondary
#CDB480
accent
#B143E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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