#2E4D83#2E4D83

#2E4D83 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.097 H 260.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2E4D83
RGBrgb(46, 77, 131)
HSLhsl(218, 48%, 35%)
HSVhsv(218, 65%, 51%)
CMYKcmyk(64.9%, 41.2%, 0%, 48.6%)
CIE-LABlab(32.98, 6.88, -33.81)
CIE-LCHlch(32.98, 34.50, 281.50°)
OKLaboklab(42.43% -0.0156 -0.0962)
OKLCHoklch(42.43% 0.097 260.8)
XYZxyz(7.8759, 7.5266, 22.5060)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D83 #83642E
analogous
#2E7883 #2E4D83 #3A2E83
triadic
#2E4D83 #832E4D #4D832E
tetradic
#2E4D83 #832E78 #83642E #2E833A
square
#2E4D83 #832E78 #83642E #2E833A
split-complementary
#2E4D83 #833A2E #78832E
monochromatic
#0E1828 #1E3256 #2E4D83 #3E68B0 #6388C8

Accessibility & contrast

On white

8.38
#2E4D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2E4D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D83
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D83#FFFFFF#000000##FFFFFF
##2E4D831.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4d83;
/* rgb */ color: rgb(46, 77, 131);
/* oklch */ color: oklch(42.4% 0.097 260.8);
Tailwind
colors: {
  custom: {
    50: '#6f7ea7',
    500: '#2e4d83',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d83;
$custom-light: #6f7ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d83",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 131
  },
  "hsl": {
    "h": 218.118,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42432,
    "c": 0.09743,
    "h": 260.8
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#2E4D83
secondary
#AF915E
accent
#A650D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4D83

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

Preview Lab → · Contrast checker → · Palette generator →

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