#2E4C85#2E4C85

#2E4C85 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.102 H 262.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2E4C85
RGBrgb(46, 76, 133)
HSLhsl(219, 49%, 35%)
HSVhsv(219, 65%, 52%)
CMYKcmyk(65.4%, 42.9%, 0%, 47.8%)
CIE-LABlab(32.79, 8.29, -35.34)
CIE-LCHlch(32.79, 36.29, 283.20°)
OKLaboklab(42.33% -0.0141 -0.1007)
OKLCHoklch(42.33% 0.102 262)
XYZxyz(7.9433, 7.4424, 23.2037)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C85 #85672E
analogous
#2E7885 #2E4C85 #3B2E85
triadic
#2E4C85 #852E4C #4C852E
tetradic
#2E4C85 #852E78 #85672E #2E853B
square
#2E4C85 #852E78 #85672E #2E853B
split-complementary
#2E4C85 #853B2E #78852E
monochromatic
#0F182A #1E3258 #2E4C85 #3E66B2 #6487C9

Accessibility & contrast

On white

8.44
#2E4C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E4C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C85
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C85#FFFFFF#000000##FFFFFF
##2E4C851.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325187
Deuteranopia (green-blind)
#254984
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4c85;
/* rgb */ color: rgb(46, 76, 133);
/* oklch */ color: oklch(42.3% 0.102 262.0);
Tailwind
colors: {
  custom: {
    50: '#707da9',
    500: '#2e4c85',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c85;
$custom-light: #707da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c85",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 133
  },
  "hsl": {
    "h": 219.31,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42329,
    "c": 0.10164,
    "h": 262
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#2E4C85
secondary
#B0945F
accent
#A950D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4C85

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

Preview Lab → · Contrast checker → · Palette generator →

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