#2E528E#2E528E

#2E528E is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.107 H 260.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2E528E
RGBrgb(46, 82, 142)
HSLhsl(218, 51%, 37%)
HSVhsv(218, 68%, 56%)
CMYKcmyk(67.6%, 42.3%, 0%, 44.3%)
CIE-LABlab(35.14, 7.68, -37.11)
CIE-LCHlch(35.14, 37.90, 281.70°)
OKLaboklab(44.32% -0.0186 -0.1058)
OKLCHoklch(44.32% 0.107 260)
XYZxyz(9.0248, 8.5675, 26.7640)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E528E #8E6A2E
analogous
#2E828E #2E528E #3A2E8E
triadic
#2E528E #8E2E52 #528E2E
tetradic
#2E528E #8E2E82 #8E6A2E #2E8E3A
square
#2E528E #8E2E82 #8E6A2E #2E8E3A
split-complementary
#2E528E #8E3A2E #828E2E
monochromatic
#101D32 #1F3760 #2E528E #3D6DBC #688ECE

Accessibility & contrast

On white

7.74
#2E528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E528E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E528E#FFFFFF#000000##FFFFFF
##2E528E1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375790
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e528e;
/* rgb */ color: rgb(46, 82, 142);
/* oklch */ color: oklch(44.3% 0.107 260.0);
Tailwind
colors: {
  custom: {
    50: '#7182af',
    500: '#2e528e',
    950: '#000000',
  },
}
SCSS
$custom: #2e528e;
$custom-light: #7182af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e528e",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 217.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.10741,
    "h": 260
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#2E528E
secondary
#B59663
accent
#A64DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E528E

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

Preview Lab → · Contrast checker → · Palette generator →

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