#2E4DC0#2E4DC0

#2E4DC0 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.184 H 267.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2E4DC0
RGBrgb(46, 77, 192)
HSLhsl(227, 61%, 47%)
HSVhsv(227, 76%, 75%)
CMYKcmyk(76%, 59.9%, 0%, 24.7%)
CIE-LABlab(37.29, 29.85, -63.48)
CIE-LCHlch(37.29, 70.15, 295.18°)
OKLaboklab(47.07% -0.0089 -0.1834)
OKLCHoklch(47.07% 0.184 267.2)
XYZxyz(13.2917, 9.6929, 51.0294)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DC0 #C0A12E
analogous
#2E96C0 #2E4DC0 #582EC0
triadic
#2E4DC0 #C02E4D #4DC02E
tetradic
#2E4DC0 #C02E96 #C0A12E #2EC058
square
#2E4DC0 #C02E96 #C0A12E #2EC058
split-complementary
#2E4DC0 #C0582E #96C02E
monochromatic
#16255D #22398F #2E4DC0 #5570D6 #869AE2

Accessibility & contrast

On white

7.15
#2E4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2E4DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DC0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DC0#FFFFFF#000000##FFFFFF
##2E4DC01.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4dc0;
/* rgb */ color: rgb(46, 77, 192);
/* oklch */ color: oklch(47.1% 0.184 267.2);
Tailwind
colors: {
  custom: {
    50: '#7d7ed4',
    500: '#2e4dc0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4dc0;
$custom-light: #7d7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4dc0",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 227.26,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47069,
    "c": 0.1836,
    "h": 267.2
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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