#2E4DC9#2E4DC9

#2E4DC9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.195 H 267.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2E4DC9
RGBrgb(46, 77, 201)
HSLhsl(228, 63%, 48%)
HSVhsv(228, 77%, 79%)
CMYKcmyk(77.1%, 61.7%, 0%, 21.2%)
CIE-LABlab(38.03, 33.17, -67.51)
CIE-LCHlch(38.03, 75.22, 296.17°)
OKLaboklab(47.85% -0.0089 -0.1952)
OKLCHoklch(47.85% 0.195 267.4)
XYZxyz(14.3195, 10.1040, 56.4426)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DC9 #C9AA2E
analogous
#2E9AC9 #2E4DC9 #5C2EC9
triadic
#2E4DC9 #C92E4D #4DC92E
tetradic
#2E4DC9 #C92E9A #C9AA2E #2EC95C
square
#2E4DC9 #C92E9A #C9AA2E #2EC95C
split-complementary
#2E4DC9 #C95C2E #9AC92E
monochromatic
#172765 #233A97 #2E4DC9 #5B74D9 #8D9EE5

Accessibility & contrast

On white

6.95
#2E4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2E4DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E4DC9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DC9#FFFFFF#000000##FFFFFF
##2E4DC91.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e4dc9;
/* rgb */ color: rgb(46, 77, 201);
/* oklch */ color: oklch(47.9% 0.195 267.4);
Tailwind
colors: {
  custom: {
    50: '#7f7eda',
    500: '#2e4dc9',
    950: '#000000',
  },
}
SCSS
$custom: #2e4dc9;
$custom-light: #7f7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4dc9",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 228,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47852,
    "c": 0.1954,
    "h": 267.4
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#2E4DC9
secondary
#CFC084
accent
#C542E6
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2E4DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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