#2E4D7B#2E4D7B

#2E4D7B is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.086 H 258.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2E4D7B
RGBrgb(46, 77, 123)
HSLhsl(216, 46%, 33%)
HSVhsv(216, 63%, 48%)
CMYKcmyk(62.6%, 37.4%, 0%, 51.8%)
CIE-LABlab(32.52, 3.92, -29.58)
CIE-LCHlch(32.52, 29.84, 277.56°)
OKLaboklab(41.93% -0.0177 -0.0838)
OKLCHoklch(41.93% 0.086 258.1)
XYZxyz(7.3545, 7.3180, 19.7600)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D7B #7B5C2E
analogous
#2E737B #2E4D7B #352E7B
triadic
#2E4D7B #7B2E4D #4D7B2E
tetradic
#2E4D7B #7B2E73 #7B5C2E #2E7B35
square
#2E4D7B #7B2E73 #7B5C2E #2E7B35
split-complementary
#2E4D7B #7B352E #737B2E
monochromatic
#0D1522 #1D314E #2E4D7B #3F69A8 #6088C3

Accessibility & contrast

On white

8.52
#2E4D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E4D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D7B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D7B#FFFFFF#000000##FFFFFF
##2E4D7B1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507D
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e4d7b;
/* rgb */ color: rgb(46, 77, 123);
/* oklch */ color: oklch(41.9% 0.086 258.1);
Tailwind
colors: {
  custom: {
    50: '#6e7ea1',
    500: '#2e4d7b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d7b;
$custom-light: #6e7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d7b",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 215.844,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41928,
    "c": 0.08563,
    "h": 258.1
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#2E4D7B
secondary
#AA8A5B
accent
#A153D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2E4D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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