#2E508D#2E508D

#2E508D is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.108 H 261.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2E508D
RGBrgb(46, 80, 141)
HSLhsl(219, 51%, 37%)
HSVhsv(219, 67%, 55%)
CMYKcmyk(67.4%, 43.3%, 0%, 44.7%)
CIE-LABlab(34.48, 8.63, -37.56)
CIE-LCHlch(34.48, 38.53, 282.94°)
OKLaboklab(43.79% -0.0167 -0.1071)
OKLCHoklch(43.79% 0.108 261.1)
XYZxyz(8.8014, 8.2404, 26.3209)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E508D #8D6B2E
analogous
#2E808D #2E508D #3C2E8D
triadic
#2E508D #8D2E50 #508D2E
tetradic
#2E508D #8D2E80 #8D6B2E #2E8D3C
square
#2E508D #8D2E80 #8D6B2E #2E8D3C
split-complementary
#2E508D #8D3C2E #808D2E
monochromatic
#101C31 #1F365F #2E508D #3D6ABB #688CCE

Accessibility & contrast

On white

7.93
#2E508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2E508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E508D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E508D#FFFFFF#000000##FFFFFF
##2E508D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#254D8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e508d;
/* rgb */ color: rgb(46, 80, 141);
/* oklch */ color: oklch(43.8% 0.108 261.1);
Tailwind
colors: {
  custom: {
    50: '#7180af',
    500: '#2e508d',
    950: '#000000',
  },
}
SCSS
$custom: #2e508d;
$custom-light: #7180af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e508d",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 218.526,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43787,
    "c": 0.10841,
    "h": 261.1
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#2E508D
secondary
#B59762
accent
#A84EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E508D

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

Preview Lab → · Contrast checker → · Palette generator →

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