#2E4186#2E4186

#2E4186 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.118 H 269.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2E4186
RGBrgb(46, 65, 134)
HSLhsl(227, 49%, 35%)
HSVhsv(227, 66%, 53%)
CMYKcmyk(65.7%, 51.5%, 0%, 47.5%)
CIE-LABlab(29.62, 16.08, -41.04)
CIE-LCHlch(29.62, 44.08, 291.40°)
OKLaboklab(39.92% -0.0021 -0.1176)
OKLCHoklch(39.92% 0.118 269)
XYZxyz(7.3186, 6.0820, 23.3379)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4186 #86732E
analogous
#2E6D86 #2E4186 #472E86
triadic
#2E4186 #862E41 #41862E
tetradic
#2E4186 #862E6D #86732E #2E8647
square
#2E4186 #862E6D #86732E #2E8647
split-complementary
#2E4186 #86472E #6D862E
monochromatic
#0F152B #1E2B58 #2E4186 #3E57B4 #647ACA

Accessibility & contrast

On white

9.47
#2E4186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E4186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4186
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4186#FFFFFF#000000##FFFFFF
##2E41861.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A88
Deuteranopia (green-blind)
#044285
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4186;
/* rgb */ color: rgb(46, 65, 134);
/* oklch */ color: oklch(39.9% 0.118 269.0);
Tailwind
colors: {
  custom: {
    50: '#7175aa',
    500: '#2e4186',
    950: '#000000',
  },
}
SCSS
$custom: #2e4186;
$custom-light: #7175aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4186",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 227.045,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.1176,
    "h": 269
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#2E4186
secondary
#B19F5F
accent
#BB4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4186

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

Preview Lab → · Contrast checker → · Palette generator →

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