#2E4985#2E4985

#2E4985 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.105 H 264.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2E4985
RGBrgb(46, 73, 133)
HSLhsl(221, 49%, 35%)
HSVhsv(221, 65%, 52%)
CMYKcmyk(65.4%, 45.1%, 0%, 47.8%)
CIE-LABlab(31.89, 10.29, -36.77)
CIE-LCHlch(31.89, 38.18, 285.64°)
OKLaboklab(41.64% -0.0108 -0.1049)
OKLCHoklch(41.64% 0.105 264.1)
XYZxyz(7.7414, 7.0387, 23.1364)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4985 #856A2E
analogous
#2E7585 #2E4985 #3E2E85
triadic
#2E4985 #852E49 #49852E
tetradic
#2E4985 #852E75 #856A2E #2E853E
square
#2E4985 #852E75 #856A2E #2E853E
split-complementary
#2E4985 #853E2E #75852E
monochromatic
#0F172A #1E3058 #2E4985 #3E62B2 #6483C9

Accessibility & contrast

On white

8.72
#2E4985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E4985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4985
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4985#FFFFFF#000000##FFFFFF
##2E49851.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F87
Deuteranopia (green-blind)
#1F4784
Tritanopia (blue-blind)
#005760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4985;
/* rgb */ color: rgb(46, 73, 133);
/* oklch */ color: oklch(41.6% 0.105 264.1);
Tailwind
colors: {
  custom: {
    50: '#707ba9',
    500: '#2e4985',
    950: '#000000',
  },
}
SCSS
$custom: #2e4985;
$custom-light: #707ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4985",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 221.379,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.10546,
    "h": 264.1
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#2E4985
secondary
#B0975F
accent
#AE50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4985

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

Preview Lab → · Contrast checker → · Palette generator →

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