#2E4D7E#2E4D7E

#2E4D7E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.1% C 0.090 H 259.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2E4D7E
RGBrgb(46, 77, 126)
HSLhsl(217, 47%, 34%)
HSVhsv(217, 63%, 49%)
CMYKcmyk(63.5%, 38.9%, 0%, 50.6%)
CIE-LABlab(32.69, 5.03, -31.17)
CIE-LCHlch(32.69, 31.58, 279.16°)
OKLaboklab(42.11% -0.0169 -0.0885)
OKLCHoklch(42.11% 0.09 259.2)
XYZxyz(7.5452, 7.3943, 20.7642)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D7E #7E5F2E
analogous
#2E757E #2E4D7E #372E7E
triadic
#2E4D7E #7E2E4D #4D7E2E
tetradic
#2E4D7E #7E2E75 #7E5F2E #2E7E37
square
#2E4D7E #7E2E75 #7E5F2E #2E7E37
split-complementary
#2E4D7E #7E372E #757E2E
monochromatic
#0D1624 #1E3251 #2E4D7E #3E68AB #6188C5

Accessibility & contrast

On white

8.47
#2E4D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2E4D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D7E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D7E#FFFFFF#000000##FFFFFF
##2E4D7E1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4d7e;
/* rgb */ color: rgb(46, 77, 126);
/* oklch */ color: oklch(42.1% 0.090 259.2);
Tailwind
colors: {
  custom: {
    50: '#6f7ea3',
    500: '#2e4d7e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d7e;
$custom-light: #6f7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d7e",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 216.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.09005,
    "h": 259.2
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#2E4D7E
secondary
#AC8D5C
accent
#A352D6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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