#2E4873#2E4873

#2E4873 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.2% C 0.080 H 260.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2E4873
RGBrgb(46, 72, 115)
HSLhsl(217, 43%, 32%)
HSVhsv(217, 60%, 45%)
CMYKcmyk(60%, 37.4%, 0%, 54.9%)
CIE-LABlab(30.53, 4.31, -27.72)
CIE-LCHlch(30.53, 28.06, 278.84°)
OKLaboklab(40.23% -0.0138 -0.0784)
OKLCHoklch(40.23% 0.08 260)
XYZxyz(6.5375, 6.4528, 17.1173)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4873 #73592E
analogous
#2E6B73 #2E4873 #372E73
triadic
#2E4873 #732E48 #48732E
tetradic
#2E4873 #732E6B #73592E #2E7337
square
#2E4873 #732E6B #73592E #2E7337
split-complementary
#2E4873 #73372E #6B732E
monochromatic
#0B111C #1D2D47 #2E4873 #3F639F #5D82BE

Accessibility & contrast

On white

9.17
#2E4873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E4873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4873
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4873#FFFFFF#000000##FFFFFF
##2E48731.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B75
Deuteranopia (green-blind)
#2D4572
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4873;
/* rgb */ color: rgb(46, 72, 115);
/* oklch */ color: oklch(40.2% 0.080 260.0);
Tailwind
colors: {
  custom: {
    50: '#6d7a9b',
    500: '#2e4873',
    950: '#000000',
  },
}
SCSS
$custom: #2e4873;
$custom-light: #6d7a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4873",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 217.391,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.07964,
    "h": 260
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#2E4873
secondary
#A48858
accent
#A355D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4873

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

Preview Lab → · Contrast checker → · Palette generator →

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