#2E508E#2E508E

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

Color values

HEX#2E508E
RGBrgb(46, 80, 142)
HSLhsl(219, 51%, 37%)
HSVhsv(219, 68%, 56%)
CMYKcmyk(67.6%, 43.7%, 0%, 44.3%)
CIE-LABlab(34.54, 9.00, -38.07)
CIE-LCHlch(34.54, 39.12, 283.31°)
OKLaboklab(43.85% -0.0165 -0.1086)
OKLCHoklch(43.85% 0.11 261.4)
XYZxyz(8.8761, 8.2703, 26.7145)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E508E #8E6C2E
analogous
#2E808E #2E508E #3C2E8E
triadic
#2E508E #8E2E50 #508E2E
tetradic
#2E508E #8E2E80 #8E6C2E #2E8E3C
square
#2E508E #8E2E80 #8E6C2E #2E8E3C
split-complementary
#2E508E #8E3C2E #808E2E
monochromatic
#101C32 #1F3660 #2E508E #3D6ABC #688CCE

Accessibility & contrast

On white

7.91
#2E508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E508E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E508E#FFFFFF#000000##FFFFFF
##2E508E1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#244D8D
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e508e;
/* rgb */ color: rgb(46, 80, 142);
/* oklch */ color: oklch(43.9% 0.110 261.4);
Tailwind
colors: {
  custom: {
    50: '#7280af',
    500: '#2e508e',
    950: '#000000',
  },
}
SCSS
$custom: #2e508e;
$custom-light: #7280af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e508e",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 218.75,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.10986,
    "h": 261.4
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#2E508E
secondary
#B59863
accent
#A94DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E508E

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

Preview Lab → · Contrast checker → · Palette generator →

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