#2E508B#2E508B

#2E508B is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.105 H 260.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2E508B
RGBrgb(46, 80, 139)
HSLhsl(218, 50%, 36%)
HSVhsv(218, 67%, 55%)
CMYKcmyk(66.9%, 42.4%, 0%, 45.5%)
CIE-LABlab(34.36, 7.88, -36.53)
CIE-LCHlch(34.36, 37.37, 282.17°)
OKLaboklab(43.66% -0.0171 -0.1041)
OKLCHoklch(43.66% 0.106 260.7)
XYZxyz(8.6539, 8.1814, 25.5442)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E508B #8B692E
analogous
#2E7F8B #2E508B #3B2E8B
triadic
#2E508B #8B2E50 #508B2E
tetradic
#2E508B #8B2E7F #8B692E #2E8B3B
square
#2E508B #8B2E7F #8B692E #2E8B3B
split-complementary
#2E508B #8B3B2E #7F8B2E
monochromatic
#101B2F #1F365D #2E508B #3D6AB9 #678CCD

Accessibility & contrast

On white

7.97
#2E508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E508B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E508B#FFFFFF#000000##FFFFFF
##2E508B1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#274D8A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e508b;
/* rgb */ color: rgb(46, 80, 139);
/* oklch */ color: oklch(43.7% 0.105 260.7);
Tailwind
colors: {
  custom: {
    50: '#7180ad',
    500: '#2e508b',
    950: '#000000',
  },
}
SCSS
$custom: #2e508b;
$custom-light: #7180ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e508b",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 218.065,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43655,
    "c": 0.1055,
    "h": 260.7
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E508B

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

Preview Lab → · Contrast checker → · Palette generator →

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