#2E4EC0#2E4EC0

#2E4EC0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.182 H 267.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2E4EC0
RGBrgb(46, 78, 192)
HSLhsl(227, 61%, 47%)
HSVhsv(227, 76%, 75%)
CMYKcmyk(76%, 59.4%, 0%, 24.7%)
CIE-LABlab(37.54, 29.20, -63.06)
CIE-LCHlch(37.54, 69.49, 294.85°)
OKLaboklab(47.26% -0.0095 -0.1821)
OKLCHoklch(47.26% 0.182 267)
XYZxyz(13.3622, 9.8339, 51.0529)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EC0 #C0A02E
analogous
#2E97C0 #2E4EC0 #572EC0
triadic
#2E4EC0 #C02E4E #4EC02E
tetradic
#2E4EC0 #C02E97 #C0A02E #2EC057
square
#2E4EC0 #C02E97 #C0A02E #2EC057
split-complementary
#2E4EC0 #C0572E #97C02E
monochromatic
#16265D #223A8F #2E4EC0 #5571D6 #869AE2

Accessibility & contrast

On white

7.08
#2E4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2E4EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EC0
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EC0#FFFFFF#000000##FFFFFF
##2E4EC01.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e4ec0;
/* rgb */ color: rgb(46, 78, 192);
/* oklch */ color: oklch(47.3% 0.182 267.0);
Tailwind
colors: {
  custom: {
    50: '#7d7fd4',
    500: '#2e4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ec0;
$custom-light: #7d7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ec0",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 226.849,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47261,
    "c": 0.18239,
    "h": 267
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#2E4EC0
secondary
#CCBB7E
accent
#C143E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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