#2E508A#2E508A

#2E508A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.6% C 0.104 H 260.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2E508A
RGBrgb(46, 80, 138)
HSLhsl(218, 50%, 36%)
HSVhsv(218, 67%, 54%)
CMYKcmyk(66.7%, 42%, 0%, 45.9%)
CIE-LABlab(34.30, 7.50, -36.01)
CIE-LCHlch(34.30, 36.78, 281.77°)
OKLaboklab(43.59% -0.0173 -0.1026)
OKLCHoklch(43.59% 0.104 260.4)
XYZxyz(8.5812, 8.1523, 25.1612)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E508A #8A682E
analogous
#2E7E8A #2E508A #3A2E8A
triadic
#2E508A #8A2E50 #508A2E
tetradic
#2E508A #8A2E7E #8A682E #2E8A3A
square
#2E508A #8A2E7E #8A682E #2E8A3A
split-complementary
#2E508A #8A3A2E #7E8A2E
monochromatic
#0F1B2E #1F355C #2E508A #3D6BB8 #668CCC

Accessibility & contrast

On white

7.98
#2E508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E508A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E508A#FFFFFF#000000##FFFFFF
##2E508A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#284D89
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e508a;
/* rgb */ color: rgb(46, 80, 138);
/* oklch */ color: oklch(43.6% 0.104 260.4);
Tailwind
colors: {
  custom: {
    50: '#7180ac',
    500: '#2e508a',
    950: '#000000',
  },
}
SCSS
$custom: #2e508a;
$custom-light: #7180ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e508a",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 217.826,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.10404,
    "h": 260.4
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#2E508A
secondary
#B39561
accent
#A64EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E508A

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

Preview Lab → · Contrast checker → · Palette generator →

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