#2E508F#2E508F

#2E508F is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.111 H 261.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2E508F
RGBrgb(46, 80, 143)
HSLhsl(219, 51%, 37%)
HSVhsv(219, 68%, 56%)
CMYKcmyk(67.8%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.60, 9.38, -38.58)
CIE-LCHlch(34.60, 39.70, 283.66°)
OKLaboklab(43.92% -0.0163 -0.1101)
OKLCHoklch(43.92% 0.111 261.6)
XYZxyz(8.9515, 8.3005, 27.1117)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E508F #8F6D2E
analogous
#2E818F #2E508F #3D2E8F
triadic
#2E508F #8F2E50 #508F2E
tetradic
#2E508F #8F2E81 #8F6D2E #2E8F3D
square
#2E508F #8F2E81 #8F6D2E #2E8F3D
split-complementary
#2E508F #8F3D2E #818F2E
monochromatic
#101C32 #1F3661 #2E508F #3D6ABD #698CCF

Accessibility & contrast

On white

7.89
#2E508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E508F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E508F#FFFFFF#000000##FFFFFF
##2E508F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#234D8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e508f;
/* rgb */ color: rgb(46, 80, 143);
/* oklch */ color: oklch(43.9% 0.111 261.6);
Tailwind
colors: {
  custom: {
    50: '#7280b0',
    500: '#2e508f',
    950: '#000000',
  },
}
SCSS
$custom: #2e508f;
$custom-light: #7280b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e508f",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 218.969,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.11133,
    "h": 261.6
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#2E508F
secondary
#B69963
accent
#A94DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2E508F

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

Preview Lab → · Contrast checker → · Palette generator →

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