#2E4DA5#2E4DA5

#2E4DA5 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.147 H 266.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2E4DA5
RGBrgb(46, 77, 165)
HSLhsl(224, 56%, 41%)
HSVhsv(224, 72%, 65%)
CMYKcmyk(72.1%, 53.3%, 0%, 35.3%)
CIE-LABlab(35.21, 19.71, -50.88)
CIE-LCHlch(35.21, 54.57, 291.17°)
OKLaboklab(44.86% -0.0102 -0.1464)
OKLCHoklch(44.86% 0.147 266)
XYZxyz(10.5697, 8.6041, 36.6937)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DA5 #A5862E
analogous
#2E89A5 #2E4DA5 #4B2EA5
triadic
#2E4DA5 #A52E4D #4DA52E
tetradic
#2E4DA5 #A52E89 #A5862E #2EA54B
square
#2E4DA5 #A52E89 #A5862E #2EA54B
split-complementary
#2E4DA5 #A54B2E #89A52E
monochromatic
#132045 #213775 #2E4DA5 #4568CB #758FD8

Accessibility & contrast

On white

7.72
#2E4DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E4DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DA5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DA5#FFFFFF#000000##FFFFFF
##2E4DA51.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4da5;
/* rgb */ color: rgb(46, 77, 165);
/* oklch */ color: oklch(44.9% 0.147 266.0);
Tailwind
colors: {
  custom: {
    50: '#767ec0',
    500: '#2e4da5',
    950: '#000000',
  },
}
SCSS
$custom: #2e4da5;
$custom-light: #767ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4da5",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 224.37,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4486,
    "c": 0.14673,
    "h": 266
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#2E4DA5
secondary
#C0AB6F
accent
#B848E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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