#2E4E7E#2E4E7E

#2E4E7E is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.089 H 258.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2E4E7E
RGBrgb(46, 78, 126)
HSLhsl(216, 47%, 34%)
HSVhsv(216, 63%, 49%)
CMYKcmyk(63.5%, 38.1%, 0%, 50.6%)
CIE-LABlab(33.00, 4.37, -30.69)
CIE-LCHlch(33.00, 31.00, 278.10°)
OKLaboklab(42.35% -0.018 -0.087)
OKLCHoklch(42.35% 0.089 258.3)
XYZxyz(7.6157, 7.5353, 20.7877)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E7E #7E5E2E
analogous
#2E767E #2E4E7E #362E7E
triadic
#2E4E7E #7E2E4E #4E7E2E
tetradic
#2E4E7E #7E2E76 #7E5E2E #2E7E36
square
#2E4E7E #7E2E76 #7E5E2E #2E7E36
split-complementary
#2E4E7E #7E362E #767E2E
monochromatic
#0D1624 #1E3251 #2E4E7E #3E6AAB #6189C5

Accessibility & contrast

On white

8.38
#2E4E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2E4E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E7E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E7E#FFFFFF#000000##FFFFFF
##2E4E7E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4e7e;
/* rgb */ color: rgb(46, 78, 126);
/* oklch */ color: oklch(42.4% 0.089 258.3);
Tailwind
colors: {
  custom: {
    50: '#6f7fa3',
    500: '#2e4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e7e;
$custom-light: #6f7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e7e",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 216,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42353,
    "c": 0.08887,
    "h": 258.3
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#2E4E7E
secondary
#AC8C5C
accent
#A152D6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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