#2E4E7B#2E4E7B

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

Color values

HEX#2E4E7B
RGBrgb(46, 78, 123)
HSLhsl(215, 46%, 33%)
HSVhsv(215, 63%, 48%)
CMYKcmyk(62.6%, 36.6%, 0%, 51.8%)
CIE-LABlab(32.83, 3.27, -29.09)
CIE-LCHlch(32.83, 29.27, 276.41°)
OKLaboklab(42.17% -0.0188 -0.0824)
OKLCHoklch(42.17% 0.084 257.1)
XYZxyz(7.4250, 7.4590, 19.7835)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E7B #7B5B2E
analogous
#2E747B #2E4E7B #342E7B
triadic
#2E4E7B #7B2E4E #4E7B2E
tetradic
#2E4E7B #7B2E74 #7B5B2E #2E7B34
square
#2E4E7B #7B2E74 #7B5B2E #2E7B34
split-complementary
#2E4E7B #7B342E #747B2E
monochromatic
#0D1622 #1D324E #2E4E7B #3F6AA8 #6089C3

Accessibility & contrast

On white

8.43
#2E4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E4E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E7B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E7B#FFFFFF#000000##FFFFFF
##2E4E7B1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#314A7A
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4e7b;
/* rgb */ color: rgb(46, 78, 123);
/* oklch */ color: oklch(42.2% 0.084 257.1);
Tailwind
colors: {
  custom: {
    50: '#6e7fa1',
    500: '#2e4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e7b;
$custom-light: #6e7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e7b",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 215.065,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.08448,
    "h": 257.1
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#2E4E7B
secondary
#AA895B
accent
#9F53D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #2E4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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