#2E4F85#2E4F85

#2E4F85 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.0% C 0.098 H 259.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2E4F85
RGBrgb(46, 79, 133)
HSLhsl(217, 49%, 35%)
HSVhsv(217, 65%, 52%)
CMYKcmyk(65.4%, 40.6%, 0%, 47.8%)
CIE-LABlab(33.70, 6.30, -33.89)
CIE-LCHlch(33.70, 34.47, 280.53°)
OKLaboklab(43.03% -0.0174 -0.0964)
OKLCHoklch(43.03% 0.098 259.8)
XYZxyz(8.1548, 7.8655, 23.2742)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F85 #85642E
analogous
#2E7B85 #2E4F85 #382E85
triadic
#2E4F85 #852E4F #4F852E
tetradic
#2E4F85 #852E7B #85642E #2E8538
square
#2E4F85 #852E7B #85642E #2E8538
split-complementary
#2E4F85 #85382E #7B852E
monochromatic
#0F192A #1E3458 #2E4F85 #3E6AB2 #648AC9

Accessibility & contrast

On white

8.16
#2E4F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2E4F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F85
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F85#FFFFFF#000000##FFFFFF
##2E4F851.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375487
Deuteranopia (green-blind)
#2B4C84
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4f85;
/* rgb */ color: rgb(46, 79, 133);
/* oklch */ color: oklch(43.0% 0.098 259.8);
Tailwind
colors: {
  custom: {
    50: '#707fa9',
    500: '#2e4f85',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f85;
$custom-light: #707fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f85",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 217.241,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43031,
    "c": 0.09794,
    "h": 259.8
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#2E4F85
secondary
#B0915F
accent
#A450D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E4F85

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

Preview Lab → · Contrast checker → · Palette generator →

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