#2E518F#2E518F

#2E518F is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.110 H 261.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2E518F
RGBrgb(46, 81, 143)
HSLhsl(218, 51%, 37%)
HSVhsv(218, 68%, 56%)
CMYKcmyk(67.8%, 43.4%, 0%, 43.9%)
CIE-LABlab(34.90, 8.72, -38.10)
CIE-LCHlch(34.90, 39.09, 282.89°)
OKLaboklab(44.15% -0.0173 -0.1087)
OKLCHoklch(44.15% 0.11 261)
XYZxyz(9.0253, 8.4480, 27.1363)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E518F #8F6C2E
analogous
#2E828F #2E518F #3C2E8F
triadic
#2E518F #8F2E51 #518F2E
tetradic
#2E518F #8F2E82 #8F6C2E #2E8F3C
square
#2E518F #8F2E82 #8F6C2E #2E8F3C
split-complementary
#2E518F #8F3C2E #828F2E
monochromatic
#101D32 #1F3761 #2E518F #3D6BBD #698ECF

Accessibility & contrast

On white

7.81
#2E518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E518F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E518F#FFFFFF#000000##FFFFFF
##2E518F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345791
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e518f;
/* rgb */ color: rgb(46, 81, 143);
/* oklch */ color: oklch(44.2% 0.110 261.0);
Tailwind
colors: {
  custom: {
    50: '#7281b0',
    500: '#2e518f',
    950: '#000000',
  },
}
SCSS
$custom: #2e518f;
$custom-light: #7281b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e518f",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 218.351,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.11008,
    "h": 261
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#2E518F
secondary
#B69863
accent
#A84DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E518F

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

Preview Lab → · Contrast checker → · Palette generator →

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