#2E5290#2E5290

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

Color values

HEX#2E5290
RGBrgb(46, 82, 144)
HSLhsl(218, 52%, 37%)
HSVhsv(218, 68%, 56%)
CMYKcmyk(68.1%, 43.1%, 0%, 43.5%)
CIE-LABlab(35.26, 8.43, -38.14)
CIE-LCHlch(35.26, 39.06, 282.47°)
OKLaboklab(44.45% -0.0181 -0.1088)
OKLCHoklch(44.45% 0.11 260.5)
XYZxyz(9.1763, 8.6281, 27.5620)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5290 #906C2E
analogous
#2E8390 #2E5290 #3B2E90
triadic
#2E5290 #902E52 #52902E
tetradic
#2E5290 #902E83 #906C2E #2E903B
square
#2E5290 #902E83 #906C2E #2E903B
split-complementary
#2E5290 #903B2E #83902E
monochromatic
#101D33 #1F3862 #2E5290 #3D6CBE #698FCF

Accessibility & contrast

On white

7.70
#2E5290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E5290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5290
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5290#FFFFFF#000000##FFFFFF
##2E52901.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355892
Deuteranopia (green-blind)
#264F8F
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5290;
/* rgb */ color: rgb(46, 82, 144);
/* oklch */ color: oklch(44.4% 0.110 260.5);
Tailwind
colors: {
  custom: {
    50: '#7282b1',
    500: '#2e5290',
    950: '#000000',
  },
}
SCSS
$custom: #2e5290;
$custom-light: #7282b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5290",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 217.959,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44449,
    "c": 0.1103,
    "h": 260.5
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#2E5290
secondary
#B69864
accent
#A74DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2E5290

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

Preview Lab → · Contrast checker → · Palette generator →

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