#2E5185#2E5185

#2E5185 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.5% C 0.096 H 258.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2E5185
RGBrgb(46, 81, 133)
HSLhsl(216, 49%, 35%)
HSVhsv(216, 65%, 52%)
CMYKcmyk(65.4%, 39.1%, 0%, 47.8%)
CIE-LABlab(34.31, 4.98, -32.92)
CIE-LCHlch(34.31, 33.30, 278.61°)
OKLaboklab(43.5% -0.0196 -0.0935)
OKLCHoklch(43.5% 0.096 258.2)
XYZxyz(8.3013, 8.1584, 23.3230)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5185 #85622E
analogous
#2E7C85 #2E5185 #372E85
triadic
#2E5185 #852E51 #51852E
tetradic
#2E5185 #852E7C #85622E #2E8537
square
#2E5185 #852E7C #85622E #2E8537
split-complementary
#2E5185 #85372E #7C852E
monochromatic
#0F1A2A #1E3558 #2E5185 #3E6DB2 #648DC9

Accessibility & contrast

On white

7.98
#2E5185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E5185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5185
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5185#FFFFFF#000000##FFFFFF
##2E51851.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5587
Deuteranopia (green-blind)
#2E4D84
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5185;
/* rgb */ color: rgb(46, 81, 133);
/* oklch */ color: oklch(43.5% 0.096 258.2);
Tailwind
colors: {
  custom: {
    50: '#7081a9',
    500: '#2e5185',
    950: '#000000',
  },
}
SCSS
$custom: #2e5185;
$custom-light: #7081a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5185",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 133
  },
  "hsl": {
    "h": 215.862,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43504,
    "c": 0.09557,
    "h": 258.2
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#2E5185
secondary
#B08F5F
accent
#A150D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E5185

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

Preview Lab → · Contrast checker → · Palette generator →

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