#2E4486#2E4486

#2E4486 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.6% C 0.114 H 267.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2E4486
RGBrgb(46, 68, 134)
HSLhsl(225, 49%, 35%)
HSVhsv(225, 66%, 53%)
CMYKcmyk(65.7%, 49.3%, 0%, 47.5%)
CIE-LABlab(30.49, 14.04, -39.64)
CIE-LCHlch(30.49, 42.06, 289.51°)
OKLaboklab(40.58% -0.0053 -0.1134)
OKLCHoklch(40.58% 0.114 267.3)
XYZxyz(7.4954, 6.4356, 23.3968)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4486 #86702E
analogous
#2E7086 #2E4486 #442E86
triadic
#2E4486 #862E44 #44862E
tetradic
#2E4486 #862E70 #86702E #2E8644
square
#2E4486 #862E70 #86702E #2E8644
split-complementary
#2E4486 #86442E #70862E
monochromatic
#0F162B #1E2D58 #2E4486 #3E5BB4 #647ECA

Accessibility & contrast

On white

9.18
#2E4486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E4486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4486
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4486#FFFFFF#000000##FFFFFF
##2E44861.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#114485
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4486;
/* rgb */ color: rgb(46, 68, 134);
/* oklch */ color: oklch(40.6% 0.114 267.3);
Tailwind
colors: {
  custom: {
    50: '#7077aa',
    500: '#2e4486',
    950: '#000000',
  },
}
SCSS
$custom: #2e4486;
$custom-light: #7077aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4486",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 225,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40578,
    "c": 0.11356,
    "h": 267.3
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#2E4486
secondary
#B19C5F
accent
#B64FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4486

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

Preview Lab → · Contrast checker → · Palette generator →

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