#2E4EC3#2E4EC3

#2E4EC3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.186 H 267.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2E4EC3
RGBrgb(46, 78, 195)
HSLhsl(227, 62%, 47%)
HSVhsv(227, 76%, 76%)
CMYKcmyk(76.4%, 60%, 0%, 23.5%)
CIE-LABlab(37.79, 30.31, -64.42)
CIE-LCHlch(37.79, 71.19, 295.20°)
OKLaboklab(47.52% -0.0095 -0.1861)
OKLCHoklch(47.52% 0.186 267.1)
XYZxyz(13.6980, 9.9682, 52.8213)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EC3 #C3A32E
analogous
#2E99C3 #2E4EC3 #582EC3
triadic
#2E4EC3 #C32E4E #4EC32E
tetradic
#2E4EC3 #C32E99 #C3A32E #2EC358
square
#2E4EC3 #C32E99 #C3A32E #2EC358
split-complementary
#2E4EC3 #C3582E #99C32E
monochromatic
#172660 #223A91 #2E4EC3 #5772D7 #889CE3

Accessibility & contrast

On white

7.01
#2E4EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2E4EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EC3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EC3#FFFFFF#000000##FFFFFF
##2E4EC31.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e4ec3;
/* rgb */ color: rgb(46, 78, 195);
/* oklch */ color: oklch(47.5% 0.186 267.1);
Tailwind
colors: {
  custom: {
    50: '#7d7fd6',
    500: '#2e4ec3',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ec3;
$custom-light: #7d7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ec3",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 195
  },
  "hsl": {
    "h": 227.114,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.18636,
    "h": 267.1
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#2E4EC3
secondary
#CDBC80
accent
#C243E5
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E4EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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