#2E4DB1#2E4DB1

#2E4DB1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.163 H 266.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2E4DB1
RGBrgb(46, 77, 177)
HSLhsl(226, 59%, 44%)
HSVhsv(226, 74%, 69%)
CMYKcmyk(74%, 56.5%, 0%, 30.6%)
CIE-LABlab(36.10, 24.24, -56.58)
CIE-LCHlch(36.10, 61.55, 293.19°)
OKLaboklab(45.82% -0.0094 -0.1631)
OKLCHoklch(45.82% 0.163 266.7)
XYZxyz(11.7136, 9.0617, 42.7182)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DB1 #B1922E
analogous
#2E8EB1 #2E4DB1 #512EB1
triadic
#2E4DB1 #B12E4D #4DB12E
tetradic
#2E4DB1 #B12E8E #B1922E #2EB151
square
#2E4DB1 #B12E8E #B1922E #2EB151
split-complementary
#2E4DB1 #B1512E #8EB12E
monochromatic
#152350 #213880 #2E4DB1 #4C6BD0 #7C93DD

Accessibility & contrast

On white

7.47
#2E4DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2E4DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DB1
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DB1#FFFFFF#000000##FFFFFF
##2E4DB11.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4db1;
/* rgb */ color: rgb(46, 77, 177);
/* oklch */ color: oklch(45.8% 0.163 266.7);
Tailwind
colors: {
  custom: {
    50: '#797ec9',
    500: '#2e4db1',
    950: '#000000',
  },
}
SCSS
$custom: #2e4db1;
$custom-light: #797ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4db1",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 225.802,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.16339,
    "h": 266.7
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#2E4DB1
secondary
#C6B375
accent
#BD46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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