#2E528A#2E528A

#2E528A is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.102 H 258.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2E528A
RGBrgb(46, 82, 138)
HSLhsl(217, 50%, 36%)
HSVhsv(217, 67%, 54%)
CMYKcmyk(66.7%, 40.6%, 0%, 45.9%)
CIE-LABlab(34.90, 6.19, -35.05)
CIE-LCHlch(34.90, 35.59, 280.01°)
OKLaboklab(44.06% -0.0195 -0.0997)
OKLCHoklch(44.06% 0.102 258.9)
XYZxyz(8.7298, 8.4496, 25.2107)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E528A #8A662E
analogous
#2E808A #2E528A #382E8A
triadic
#2E528A #8A2E52 #528A2E
tetradic
#2E528A #8A2E80 #8A662E #2E8A38
square
#2E528A #8A2E80 #8A662E #2E8A38
split-complementary
#2E528A #8A382E #808A2E
monochromatic
#0F1B2E #1F375C #2E528A #3D6DB8 #668ECC

Accessibility & contrast

On white

7.81
#2E528A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E528A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E528A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E528A#FFFFFF#000000##FFFFFF
##2E528A1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e528a;
/* rgb */ color: rgb(46, 82, 138);
/* oklch */ color: oklch(44.1% 0.102 258.9);
Tailwind
colors: {
  custom: {
    50: '#7182ac',
    500: '#2e528a',
    950: '#000000',
  },
}
SCSS
$custom: #2e528a;
$custom-light: #7182ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e528a",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 216.522,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.10163,
    "h": 258.9
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#2E528A
secondary
#B39361
accent
#A34EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E528A

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

Preview Lab → · Contrast checker → · Palette generator →

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