#2E5184#2E5184

#2E5184 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.094 H 257.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2E5184
RGBrgb(46, 81, 132)
HSLhsl(216, 48%, 35%)
HSVhsv(216, 65%, 52%)
CMYKcmyk(65.2%, 38.6%, 0%, 48.2%)
CIE-LABlab(34.25, 4.61, -32.40)
CIE-LCHlch(34.25, 32.73, 278.10°)
OKLaboklab(43.44% -0.0199 -0.092)
OKLCHoklch(43.44% 0.094 257.8)
XYZxyz(8.2325, 8.1309, 22.9609)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5184 #84612E
analogous
#2E7C84 #2E5184 #362E84
triadic
#2E5184 #842E51 #51842E
tetradic
#2E5184 #842E7C #84612E #2E8436
square
#2E5184 #842E7C #84612E #2E8436
split-complementary
#2E5184 #84362E #7C842E
monochromatic
#0E1929 #1E3557 #2E5184 #3E6DB1 #648DC9

Accessibility & contrast

On white

8.00
#2E5184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E5184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5184
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5184#FFFFFF#000000##FFFFFF
##2E51841.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5586
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5184;
/* rgb */ color: rgb(46, 81, 132);
/* oklch */ color: oklch(43.4% 0.094 257.8);
Tailwind
colors: {
  custom: {
    50: '#7081a8',
    500: '#2e5184',
    950: '#000000',
  },
}
SCSS
$custom: #2e5184;
$custom-light: #7081a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5184",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 132
  },
  "hsl": {
    "h": 215.581,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43442,
    "c": 0.09411,
    "h": 257.8
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#2E5184
secondary
#B08E5E
accent
#A150D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E5184

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

Preview Lab → · Contrast checker → · Palette generator →

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