#2E528F#2E528F

#2E528F is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.109 H 260.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2E528F
RGBrgb(46, 82, 143)
HSLhsl(218, 51%, 37%)
HSVhsv(218, 68%, 56%)
CMYKcmyk(67.8%, 42.7%, 0%, 43.9%)
CIE-LABlab(35.20, 8.06, -37.63)
CIE-LCHlch(35.20, 38.48, 282.09°)
OKLaboklab(44.38% -0.0184 -0.1073)
OKLCHoklch(44.38% 0.109 260.3)
XYZxyz(9.1002, 8.5977, 27.1612)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E528F #8F6B2E
analogous
#2E838F #2E528F #3B2E8F
triadic
#2E528F #8F2E52 #528F2E
tetradic
#2E528F #8F2E83 #8F6B2E #2E8F3B
square
#2E528F #8F2E83 #8F6B2E #2E8F3B
split-complementary
#2E528F #8F3B2E #838F2E
monochromatic
#101D32 #1F3761 #2E528F #3D6DBD #698FCF

Accessibility & contrast

On white

7.72
#2E528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E528F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E528F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E528F#FFFFFF#000000##FFFFFF
##2E528F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#274F8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e528f;
/* rgb */ color: rgb(46, 82, 143);
/* oklch */ color: oklch(44.4% 0.109 260.3);
Tailwind
colors: {
  custom: {
    50: '#7282b0',
    500: '#2e528f',
    950: '#000000',
  },
}
SCSS
$custom: #2e528f;
$custom-light: #7282b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e528f",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 217.732,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44383,
    "c": 0.10886,
    "h": 260.3
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#2E528F
secondary
#B69763
accent
#A64DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E528F

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

Preview Lab → · Contrast checker → · Palette generator →

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