#2E4DA0#2E4DA0

#2E4DA0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.140 H 265.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2E4DA0
RGBrgb(46, 77, 160)
HSLhsl(224, 55%, 40%)
HSVhsv(224, 71%, 63%)
CMYKcmyk(71.2%, 51.9%, 0%, 37.3%)
CIE-LABlab(34.85, 17.81, -48.46)
CIE-LCHlch(34.85, 51.63, 290.18°)
OKLaboklab(44.48% -0.0107 -0.1392)
OKLCHoklch(44.48% 0.14 265.6)
XYZxyz(10.1235, 8.4256, 34.3437)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DA0 #A0812E
analogous
#2E86A0 #2E4DA0 #482EA0
triadic
#2E4DA0 #A02E4D #4DA02E
tetradic
#2E4DA0 #A02E86 #A0812E #2EA048
square
#2E4DA0 #A02E86 #A0812E #2EA048
split-complementary
#2E4DA0 #A0482E #86A02E
monochromatic
#131F41 #203670 #2E4DA0 #4267C9 #728DD6

Accessibility & contrast

On white

7.82
#2E4DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E4DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DA0
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DA0#FFFFFF#000000##FFFFFF
##2E4DA01.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4da0;
/* rgb */ color: rgb(46, 77, 160);
/* oklch */ color: oklch(44.5% 0.140 265.6);
Tailwind
colors: {
  custom: {
    50: '#757ebd',
    500: '#2e4da0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4da0;
$custom-light: #757ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4da0",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 160
  },
  "hsl": {
    "h": 223.684,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.13965,
    "h": 265.6
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#2E4DA0
secondary
#BEA86C
accent
#B649DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E4DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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