#2E5080#2E5080

#2E5080 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.0% C 0.089 H 257.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2E5080
RGBrgb(46, 80, 128)
HSLhsl(215, 47%, 34%)
HSVhsv(215, 64%, 50%)
CMYKcmyk(64.1%, 37.5%, 0%, 49.8%)
CIE-LABlab(33.72, 3.79, -30.77)
CIE-LCHlch(33.72, 31.01, 277.02°)
OKLaboklab(42.96% -0.0198 -0.0872)
OKLCHoklch(42.96% 0.089 257.2)
XYZxyz(7.8903, 7.8760, 21.5223)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5080 #805E2E
analogous
#2E7980 #2E5080 #352E80
triadic
#2E5080 #802E50 #50802E
tetradic
#2E5080 #802E79 #805E2E #2E8035
square
#2E5080 #802E79 #805E2E #2E8035
split-complementary
#2E5080 #80352E #79802E
monochromatic
#0E1826 #1E3453 #2E5080 #3E6CAD #628CC7

Accessibility & contrast

On white

8.15
#2E5080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2E5080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5080
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5080#FFFFFF#000000##FFFFFF
##2E50801.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5482
Deuteranopia (green-blind)
#304C7F
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e5080;
/* rgb */ color: rgb(46, 80, 128);
/* oklch */ color: oklch(43.0% 0.089 257.2);
Tailwind
colors: {
  custom: {
    50: '#6f80a5',
    500: '#2e5080',
    950: '#000000',
  },
}
SCSS
$custom: #2e5080;
$custom-light: #6f80a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5080",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 128
  },
  "hsl": {
    "h": 215.122,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42956,
    "c": 0.08947,
    "h": 257.2
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#2E5080
secondary
#AD8C5D
accent
#9F51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E5080

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

Preview Lab → · Contrast checker → · Palette generator →

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