#2E4F83#2E4F83

#2E4F83 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.095 H 259.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2E4F83
RGBrgb(46, 79, 131)
HSLhsl(217, 48%, 35%)
HSVhsv(217, 65%, 51%)
CMYKcmyk(64.9%, 39.7%, 0%, 48.6%)
CIE-LABlab(33.59, 5.56, -32.84)
CIE-LCHlch(33.59, 33.31, 279.60°)
OKLaboklab(42.9% -0.0179 -0.0933)
OKLCHoklch(42.9% 0.095 259.1)
XYZxyz(8.0180, 7.8108, 22.5534)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F83 #83622E
analogous
#2E7A83 #2E4F83 #382E83
triadic
#2E4F83 #832E4F #4F832E
tetradic
#2E4F83 #832E7A #83622E #2E8338
square
#2E4F83 #832E7A #83622E #2E8338
split-complementary
#2E4F83 #83382E #7A832E
monochromatic
#0E1828 #1E3456 #2E4F83 #3E6AB0 #638AC8

Accessibility & contrast

On white

8.20
#2E4F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E4F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F83
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F83#FFFFFF#000000##FFFFFF
##2E4F831.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#2C4B82
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4f83;
/* rgb */ color: rgb(46, 79, 131);
/* oklch */ color: oklch(42.9% 0.095 259.1);
Tailwind
colors: {
  custom: {
    50: '#6f80a7',
    500: '#2e4f83',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f83;
$custom-light: #6f80a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f83",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 131
  },
  "hsl": {
    "h": 216.706,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42904,
    "c": 0.09501,
    "h": 259.1
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#2E4F83
secondary
#AF8F5E
accent
#A350D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E4F83

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

Preview Lab → · Contrast checker → · Palette generator →

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