#2E4E7C#2E4E7C

#2E4E7C is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.2% C 0.086 H 257.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2E4E7C
RGBrgb(46, 78, 124)
HSLhsl(215, 46%, 33%)
HSVhsv(215, 63%, 49%)
CMYKcmyk(62.9%, 37.1%, 0%, 51.4%)
CIE-LABlab(32.88, 3.63, -29.62)
CIE-LCHlch(32.88, 29.84, 276.99°)
OKLaboklab(42.23% -0.0186 -0.0839)
OKLCHoklch(42.23% 0.086 257.5)
XYZxyz(7.4879, 7.4842, 20.1149)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E7C #7C5C2E
analogous
#2E757C #2E4E7C #352E7C
triadic
#2E4E7C #7C2E4E #4E7C2E
tetradic
#2E4E7C #7C2E75 #7C5C2E #2E7C35
square
#2E4E7C #7C2E75 #7C5C2E #2E7C35
split-complementary
#2E4E7C #7C352E #757C2E
monochromatic
#0D1623 #1D324F #2E4E7C #3F6AA9 #6089C4

Accessibility & contrast

On white

8.41
#2E4E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E4E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E7C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E7C#FFFFFF#000000##FFFFFF
##2E4E7C1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517E
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4e7c;
/* rgb */ color: rgb(46, 78, 124);
/* oklch */ color: oklch(42.2% 0.086 257.5);
Tailwind
colors: {
  custom: {
    50: '#6e7fa2',
    500: '#2e4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e7c;
$custom-light: #6e7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e7c",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 215.385,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.08594,
    "h": 257.5
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#2E4E7C
secondary
#AB8A5B
accent
#A052D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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