#2E528B#2E528B

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

Color values

HEX#2E528B
RGBrgb(46, 82, 139)
HSLhsl(217, 50%, 36%)
HSVhsv(217, 67%, 55%)
CMYKcmyk(66.9%, 41%, 0%, 45.5%)
CIE-LABlab(34.96, 6.56, -35.57)
CIE-LCHlch(34.96, 36.17, 280.45°)
OKLaboklab(44.12% -0.0193 -0.1013)
OKLCHoklch(44.12% 0.103 259.2)
XYZxyz(8.8025, 8.4787, 25.5937)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E528B #8B672E
analogous
#2E818B #2E528B #392E8B
triadic
#2E528B #8B2E52 #528B2E
tetradic
#2E528B #8B2E81 #8B672E #2E8B39
square
#2E528B #8B2E81 #8B672E #2E8B39
split-complementary
#2E528B #8B392E #818B2E
monochromatic
#101C2F #1F375D #2E528B #3D6DB9 #678ECD

Accessibility & contrast

On white

7.79
#2E528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E528B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E528B#FFFFFF#000000##FFFFFF
##2E528B1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578D
Deuteranopia (green-blind)
#2B4E8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e528b;
/* rgb */ color: rgb(46, 82, 139);
/* oklch */ color: oklch(44.1% 0.103 259.2);
Tailwind
colors: {
  custom: {
    50: '#7182ad',
    500: '#2e528b',
    950: '#000000',
  },
}
SCSS
$custom: #2e528b;
$custom-light: #7182ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e528b",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 216.774,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44122,
    "c": 0.10308,
    "h": 259.2
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E528B

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

Preview Lab → · Contrast checker → · Palette generator →

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