#2E528C#2E528C

#2E528C is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.105 H 259.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2E528C
RGBrgb(46, 82, 140)
HSLhsl(217, 51%, 36%)
HSVhsv(217, 67%, 55%)
CMYKcmyk(67.1%, 41.4%, 0%, 45.1%)
CIE-LABlab(35.02, 6.93, -36.08)
CIE-LCHlch(35.02, 36.74, 280.88°)
OKLaboklab(44.19% -0.019 -0.1028)
OKLCHoklch(44.19% 0.105 259.5)
XYZxyz(8.8759, 8.5080, 25.9803)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E528C #8C682E
analogous
#2E818C #2E528C #392E8C
triadic
#2E528C #8C2E52 #528C2E
tetradic
#2E528C #8C2E81 #8C682E #2E8C39
square
#2E528C #8C2E81 #8C682E #2E8C39
split-complementary
#2E528C #8C392E #818C2E
monochromatic
#101C30 #1F375E #2E528C #3D6DBA #678ECD

Accessibility & contrast

On white

7.77
#2E528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E528C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E528C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E528C#FFFFFF#000000##FFFFFF
##2E528C1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e528c;
/* rgb */ color: rgb(46, 82, 140);
/* oklch */ color: oklch(44.2% 0.105 259.5);
Tailwind
colors: {
  custom: {
    50: '#7182ae',
    500: '#2e528c',
    950: '#000000',
  },
}
SCSS
$custom: #2e528c;
$custom-light: #7182ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e528c",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 217.021,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44186,
    "c": 0.10452,
    "h": 259.5
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#2E528C
secondary
#B49562
accent
#A44EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E528C

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

Preview Lab → · Contrast checker → · Palette generator →

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