#2E4084#2E4084

#2E4084 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.116 H 269.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2E4084
RGBrgb(46, 64, 132)
HSLhsl(227, 48%, 35%)
HSVhsv(227, 65%, 52%)
CMYKcmyk(65.2%, 51.5%, 0%, 48.2%)
CIE-LABlab(29.19, 16.02, -40.48)
CIE-LCHlch(29.19, 43.54, 291.59°)
OKLaboklab(39.55% -0.0013 -0.116)
OKLCHoklch(39.55% 0.116 269.3)
XYZxyz(7.1236, 5.9130, 22.5912)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4084 #84722E
analogous
#2E6B84 #2E4084 #472E84
triadic
#2E4084 #842E40 #40842E
tetradic
#2E4084 #842E6B #84722E #2E8447
square
#2E4084 #842E6B #84722E #2E8447
split-complementary
#2E4084 #84472E #6B842E
monochromatic
#0E1429 #1E2A57 #2E4084 #3E56B1 #6479C9

Accessibility & contrast

On white

9.62
#2E4084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E4084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4084
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4084#FFFFFF#000000##FFFFFF
##2E40841.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4986
Deuteranopia (green-blind)
#054183
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4084;
/* rgb */ color: rgb(46, 64, 132);
/* oklch */ color: oklch(39.5% 0.116 269.3);
Tailwind
colors: {
  custom: {
    50: '#7074a8',
    500: '#2e4084',
    950: '#000000',
  },
}
SCSS
$custom: #2e4084;
$custom-light: #7074a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4084",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 227.442,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39549,
    "c": 0.11598,
    "h": 269.3
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#2E4084
secondary
#B09F5E
accent
#BB50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4084

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

Preview Lab → · Contrast checker → · Palette generator →

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