#2E508C#2E508C

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

Color values

HEX#2E508C
RGBrgb(46, 80, 140)
HSLhsl(218, 51%, 36%)
HSVhsv(218, 67%, 55%)
CMYKcmyk(67.1%, 42.9%, 0%, 45.1%)
CIE-LABlab(34.42, 8.25, -37.04)
CIE-LCHlch(34.42, 37.95, 282.56°)
OKLaboklab(43.72% -0.0169 -0.1056)
OKLCHoklch(43.72% 0.107 260.9)
XYZxyz(8.7273, 8.2108, 25.9308)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E508C #8C6A2E
analogous
#2E7F8C #2E508C #3B2E8C
triadic
#2E508C #8C2E50 #508C2E
tetradic
#2E508C #8C2E7F #8C6A2E #2E8C3B
square
#2E508C #8C2E7F #8C6A2E #2E8C3B
split-complementary
#2E508C #8C3B2E #7F8C2E
monochromatic
#101B30 #1F365E #2E508C #3D6ABA #678CCD

Accessibility & contrast

On white

7.95
#2E508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E508C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E508C#FFFFFF#000000##FFFFFF
##2E508C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568E
Deuteranopia (green-blind)
#264D8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e508c;
/* rgb */ color: rgb(46, 80, 140);
/* oklch */ color: oklch(43.7% 0.107 260.9);
Tailwind
colors: {
  custom: {
    50: '#7180ae',
    500: '#2e508c',
    950: '#000000',
  },
}
SCSS
$custom: #2e508c;
$custom-light: #7180ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e508c",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 218.298,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43721,
    "c": 0.10695,
    "h": 260.9
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E508C

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

Preview Lab → · Contrast checker → · Palette generator →

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