#2E518E#2E518E

#2E518E is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.109 H 260.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2E518E
RGBrgb(46, 81, 142)
HSLhsl(218, 51%, 37%)
HSVhsv(218, 68%, 56%)
CMYKcmyk(67.6%, 43%, 0%, 44.3%)
CIE-LABlab(34.84, 8.34, -37.59)
CIE-LCHlch(34.84, 38.51, 282.51°)
OKLaboklab(44.09% -0.0175 -0.1072)
OKLCHoklch(44.09% 0.109 260.7)
XYZxyz(8.9499, 8.4178, 26.7391)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E518E #8E6B2E
analogous
#2E818E #2E518E #3B2E8E
triadic
#2E518E #8E2E51 #518E2E
tetradic
#2E518E #8E2E81 #8E6B2E #2E8E3B
square
#2E518E #8E2E81 #8E6B2E #2E8E3B
split-complementary
#2E518E #8E3B2E #818E2E
monochromatic
#101C32 #1F3760 #2E518E #3D6BBC #688DCE

Accessibility & contrast

On white

7.82
#2E518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E518E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E518E#FFFFFF#000000##FFFFFF
##2E518E1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#264E8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e518e;
/* rgb */ color: rgb(46, 81, 142);
/* oklch */ color: oklch(44.1% 0.109 260.7);
Tailwind
colors: {
  custom: {
    50: '#7181af',
    500: '#2e518e',
    950: '#000000',
  },
}
SCSS
$custom: #2e518e;
$custom-light: #7181af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e518e",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 218.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44085,
    "c": 0.10863,
    "h": 260.7
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#2E518E
secondary
#B59763
accent
#A74DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E518E

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

Preview Lab → · Contrast checker → · Palette generator →

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