#2E4DC3#2E4DC3

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

Color values

HEX#2E4DC3
RGBrgb(46, 77, 195)
HSLhsl(228, 62%, 47%)
HSVhsv(228, 76%, 76%)
CMYKcmyk(76.4%, 60.5%, 0%, 23.5%)
CIE-LABlab(37.53, 30.96, -64.83)
CIE-LCHlch(37.53, 71.85, 295.53°)
OKLaboklab(47.33% -0.0088 -0.1873)
OKLCHoklch(47.33% 0.188 267.3)
XYZxyz(13.6275, 9.8272, 52.7978)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DC3 #C3A42E
analogous
#2E97C3 #2E4DC3 #5A2EC3
triadic
#2E4DC3 #C32E4D #4DC32E
tetradic
#2E4DC3 #C32E97 #C3A42E #2EC35A
square
#2E4DC3 #C32E97 #C3A42E #2EC35A
split-complementary
#2E4DC3 #C35A2E #97C32E
monochromatic
#172660 #223991 #2E4DC3 #5772D7 #889BE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4DC3#FFFFFF#000000##FFFFFF
##2E4DC31.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)
#005FC7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e4dc3;
/* rgb */ color: rgb(46, 77, 195);
/* oklch */ color: oklch(47.3% 0.188 267.3);
Tailwind
colors: {
  custom: {
    50: '#7d7ed6',
    500: '#2e4dc3',
    950: '#000000',
  },
}
SCSS
$custom: #2e4dc3;
$custom-light: #7d7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4dc3",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 227.517,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47328,
    "c": 0.18756,
    "h": 267.3
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#2E4DC3
secondary
#CDBD80
accent
#C343E5
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E4DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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