#2E518D#2E518D

#2E518D is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.107 H 260.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2E518D
RGBrgb(46, 81, 141)
HSLhsl(218, 51%, 37%)
HSVhsv(218, 67%, 55%)
CMYKcmyk(67.4%, 42.6%, 0%, 44.7%)
CIE-LABlab(34.78, 7.97, -37.08)
CIE-LCHlch(34.78, 37.92, 282.13°)
OKLaboklab(44.02% -0.0177 -0.1057)
OKLCHoklch(44.02% 0.107 260.5)
XYZxyz(8.8752, 8.3879, 26.3454)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E518D #8D6A2E
analogous
#2E818D #2E518D #3B2E8D
triadic
#2E518D #8D2E51 #518D2E
tetradic
#2E518D #8D2E81 #8D6A2E #2E8D3B
square
#2E518D #8D2E81 #8D6A2E #2E8D3B
split-complementary
#2E518D #8D3B2E #818D2E
monochromatic
#101C31 #1F365F #2E518D #3D6CBB #688DCE

Accessibility & contrast

On white

7.84
#2E518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E518D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E518D#FFFFFF#000000##FFFFFF
##2E518D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35578F
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e518d;
/* rgb */ color: rgb(46, 81, 141);
/* oklch */ color: oklch(44.0% 0.107 260.5);
Tailwind
colors: {
  custom: {
    50: '#7181af',
    500: '#2e518d',
    950: '#000000',
  },
}
SCSS
$custom: #2e518d;
$custom-light: #7181af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e518d",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 217.895,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44019,
    "c": 0.10718,
    "h": 260.5
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#2E518D
secondary
#B59662
accent
#A64EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E518D

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

Preview Lab → · Contrast checker → · Palette generator →

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