#2E4982#2E4982

#2E4982 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.101 H 263.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2E4982
RGBrgb(46, 73, 130)
HSLhsl(221, 48%, 35%)
HSVhsv(221, 65%, 51%)
CMYKcmyk(64.6%, 43.8%, 0%, 49%)
CIE-LABlab(31.71, 9.17, -35.21)
CIE-LCHlch(31.71, 36.38, 284.60°)
OKLaboklab(41.43% -0.0114 -0.1003)
OKLCHoklch(41.43% 0.101 263.5)
XYZxyz(7.5371, 6.9570, 22.0604)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4982 #82672E
analogous
#2E7382 #2E4982 #3D2E82
triadic
#2E4982 #822E49 #49822E
tetradic
#2E4982 #822E73 #82672E #2E823D
square
#2E4982 #822E73 #82672E #2E823D
split-complementary
#2E4982 #823D2E #73822E
monochromatic
#0E1628 #1E3055 #2E4982 #3E62AF #6383C8

Accessibility & contrast

On white

8.78
#2E4982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E4982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4982
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4982#FFFFFF#000000##FFFFFF
##2E49821.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4982;
/* rgb */ color: rgb(46, 73, 130);
/* oklch */ color: oklch(41.4% 0.101 263.5);
Tailwind
colors: {
  custom: {
    50: '#6f7ba7',
    500: '#2e4982',
    950: '#000000',
  },
}
SCSS
$custom: #2e4982;
$custom-light: #6f7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4982",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 220.714,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41432,
    "c": 0.10099,
    "h": 263.5
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#2E4982
secondary
#AE945D
accent
#AC50D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4982

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

Preview Lab → · Contrast checker → · Palette generator →

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