#2E4D85#2E4D85

#2E4D85 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.100 H 261.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2E4D85
RGBrgb(46, 77, 133)
HSLhsl(219, 49%, 35%)
HSVhsv(219, 65%, 52%)
CMYKcmyk(65.4%, 42.1%, 0%, 47.8%)
CIE-LABlab(33.10, 7.62, -34.85)
CIE-LCHlch(33.10, 35.68, 282.33°)
OKLaboklab(42.56% -0.0152 -0.0992)
OKLCHoklch(42.56% 0.1 261.3)
XYZxyz(8.0127, 7.5813, 23.2268)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D85 #85662E
analogous
#2E7885 #2E4D85 #3B2E85
triadic
#2E4D85 #852E4D #4D852E
tetradic
#2E4D85 #852E78 #85662E #2E853B
square
#2E4D85 #852E78 #85662E #2E853B
split-complementary
#2E4D85 #853B2E #78852E
monochromatic
#0F182A #1E3358 #2E4D85 #3E67B2 #6488C9

Accessibility & contrast

On white

8.35
#2E4D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E4D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D85
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D85#FFFFFF#000000##FFFFFF
##2E4D851.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345287
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4d85;
/* rgb */ color: rgb(46, 77, 133);
/* oklch */ color: oklch(42.6% 0.100 261.3);
Tailwind
colors: {
  custom: {
    50: '#707ea9',
    500: '#2e4d85',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d85;
$custom-light: #707ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d85",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 133
  },
  "hsl": {
    "h": 218.621,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.1004,
    "h": 261.3
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#2E4D85
secondary
#B0935F
accent
#A850D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4D85

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

Preview Lab → · Contrast checker → · Palette generator →

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