#2E4DB3#2E4DB3

#2E4DB3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.166 H 266.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2E4DB3
RGBrgb(46, 77, 179)
HSLhsl(226, 59%, 44%)
HSVhsv(226, 74%, 70%)
CMYKcmyk(74.3%, 57%, 0%, 29.8%)
CIE-LABlab(36.26, 24.99, -57.51)
CIE-LCHlch(36.26, 62.71, 293.49°)
OKLaboklab(45.98% -0.0092 -0.1659)
OKLCHoklch(45.98% 0.166 266.8)
XYZxyz(11.9144, 9.1420, 43.7757)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DB3 #B3942E
analogous
#2E90B3 #2E4DB3 #522EB3
triadic
#2E4DB3 #B32E4D #4DB32E
tetradic
#2E4DB3 #B32E90 #B3942E #2EB352
square
#2E4DB3 #B32E90 #B3942E #2EB352
split-complementary
#2E4DB3 #B3522E #90B32E
monochromatic
#152352 #213882 #2E4DB3 #4D6CD1 #7E94DE

Accessibility & contrast

On white

7.42
#2E4DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2E4DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DB3
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DB3#FFFFFF#000000##FFFFFF
##2E4DB31.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4db3;
/* rgb */ color: rgb(46, 77, 179);
/* oklch */ color: oklch(46.0% 0.166 266.8);
Tailwind
colors: {
  custom: {
    50: '#7a7ecb',
    500: '#2e4db3',
    950: '#000000',
  },
}
SCSS
$custom: #2e4db3;
$custom-light: #7a7ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4db3",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 226.015,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45978,
    "c": 0.16613,
    "h": 266.8
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

primary
#2E4DB3
secondary
#C6B476
accent
#BE46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E4DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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