#2E5294#2E5294

#2E5294 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.116 H 261.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2E5294
RGBrgb(46, 82, 148)
HSLhsl(219, 53%, 38%)
HSVhsv(219, 69%, 58%)
CMYKcmyk(68.9%, 44.6%, 0%, 42%)
CIE-LABlab(35.50, 9.94, -40.18)
CIE-LCHlch(35.50, 41.39, 283.90°)
OKLaboklab(44.72% -0.0173 -0.1148)
OKLCHoklch(44.72% 0.116 261.4)
XYZxyz(9.4874, 8.7526, 29.2007)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5294 #94702E
analogous
#2E8594 #2E5294 #3D2E94
triadic
#2E5294 #942E52 #52942E
tetradic
#2E5294 #942E85 #94702E #2E943D
square
#2E5294 #942E85 #94702E #2E943D
split-complementary
#2E5294 #943D2E #85942E
monochromatic
#111E37 #1F3865 #2E5294 #3D6CC3 #6B8FD1

Accessibility & contrast

On white

7.63
#2E5294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2E5294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5294
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5294#FFFFFF#000000##FFFFFF
##2E52941.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325997
Deuteranopia (green-blind)
#214F93
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5294;
/* rgb */ color: rgb(46, 82, 148);
/* oklch */ color: oklch(44.7% 0.116 261.4);
Tailwind
colors: {
  custom: {
    50: '#7382b4',
    500: '#2e5294',
    950: '#000000',
  },
}
SCSS
$custom: #2e5294;
$custom-light: #7382b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5294",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 218.824,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44718,
    "c": 0.11608,
    "h": 261.4
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#2E5294
secondary
#B89B66
accent
#A94CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5294

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

Preview Lab → · Contrast checker → · Palette generator →

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