#2E5286#2E5286

#2E5286 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.096 H 257.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2E5286
RGBrgb(46, 82, 134)
HSLhsl(215, 49%, 35%)
HSVhsv(215, 66%, 53%)
CMYKcmyk(65.7%, 38.8%, 0%, 47.5%)
CIE-LABlab(34.67, 4.70, -32.96)
CIE-LCHlch(34.67, 33.30, 278.11°)
OKLaboklab(43.8% -0.0205 -0.0936)
OKLCHoklch(43.8% 0.096 257.7)
XYZxyz(8.4455, 8.3359, 23.7135)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5286 #86622E
analogous
#2E7E86 #2E5286 #362E86
triadic
#2E5286 #862E52 #52862E
tetradic
#2E5286 #862E7E #86622E #2E8636
square
#2E5286 #862E7E #86622E #2E8636
split-complementary
#2E5286 #86362E #7E862E
monochromatic
#0F1A2B #1E3658 #2E5286 #3E6EB4 #648ECA

Accessibility & contrast

On white

7.87
#2E5286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2E5286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5286
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5286#FFFFFF#000000##FFFFFF
##2E52861.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5286;
/* rgb */ color: rgb(46, 82, 134);
/* oklch */ color: oklch(43.8% 0.096 257.7);
Tailwind
colors: {
  custom: {
    50: '#7082a9',
    500: '#2e5286',
    950: '#000000',
  },
}
SCSS
$custom: #2e5286;
$custom-light: #7082a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5286",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 215.455,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.09584,
    "h": 257.7
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#2E5286
secondary
#B18F5F
accent
#A04FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E5286

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

Preview Lab → · Contrast checker → · Palette generator →

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