#2E4DB5#2E4DB5

#2E4DB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.169 H 266.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2E4DB5
RGBrgb(46, 77, 181)
HSLhsl(226, 59%, 45%)
HSVhsv(226, 75%, 71%)
CMYKcmyk(74.6%, 57.5%, 0%, 29%)
CIE-LABlab(36.41, 25.74, -58.44)
CIE-LCHlch(36.41, 63.86, 293.77°)
OKLaboklab(46.14% -0.0092 -0.1686)
OKLCHoklch(46.14% 0.169 266.9)
XYZxyz(12.1182, 9.2235, 44.8488)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DB5 #B5962E
analogous
#2E91B5 #2E4DB5 #532EB5
triadic
#2E4DB5 #B52E4D #4DB52E
tetradic
#2E4DB5 #B52E91 #B5962E #2EB553
square
#2E4DB5 #B52E91 #B5962E #2EB553
split-complementary
#2E4DB5 #B5532E #91B52E
monochromatic
#152353 #223884 #2E4DB5 #4E6CD2 #7F95DE

Accessibility & contrast

On white

7.38
#2E4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2E4DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DB5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DB5#FFFFFF#000000##FFFFFF
##2E4DB51.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4db5;
/* rgb */ color: rgb(46, 77, 181);
/* oklch */ color: oklch(46.1% 0.169 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a7ecc',
    500: '#2e4db5',
    950: '#000000',
  },
}
SCSS
$custom: #2e4db5;
$custom-light: #7a7ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4db5",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 226.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46143,
    "c": 0.16885,
    "h": 266.9
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#2E4DB5
secondary
#C7B578
accent
#BE45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E4DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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