#2E528D#2E528D

#2E528D is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.106 H 259.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2E528D
RGBrgb(46, 82, 141)
HSLhsl(217, 51%, 37%)
HSVhsv(217, 67%, 55%)
CMYKcmyk(67.4%, 41.8%, 0%, 44.7%)
CIE-LABlab(35.08, 7.31, -36.60)
CIE-LCHlch(35.08, 37.32, 281.29°)
OKLaboklab(44.25% -0.0188 -0.1043)
OKLCHoklch(44.25% 0.106 259.8)
XYZxyz(8.9500, 8.5376, 26.3704)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E528D #8D692E
analogous
#2E828D #2E528D #3A2E8D
triadic
#2E528D #8D2E52 #528D2E
tetradic
#2E528D #8D2E82 #8D692E #2E8D3A
square
#2E528D #8D2E82 #8D692E #2E8D3A
split-complementary
#2E528D #8D3A2E #828D2E
monochromatic
#101C31 #1F375F #2E528D #3D6DBB #688ECE

Accessibility & contrast

On white

7.76
#2E528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2E528D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E528D
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E528D#FFFFFF#000000##FFFFFF
##2E528D1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#294E8C
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e528d;
/* rgb */ color: rgb(46, 82, 141);
/* oklch */ color: oklch(44.3% 0.106 259.8);
Tailwind
colors: {
  custom: {
    50: '#7182af',
    500: '#2e528d',
    950: '#000000',
  },
}
SCSS
$custom: #2e528d;
$custom-light: #7182af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e528d",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 217.263,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.10596,
    "h": 259.8
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#2E528D
secondary
#B59562
accent
#A54EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E528D

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

Preview Lab → · Contrast checker → · Palette generator →

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