#2E4774#2E4774

#2E4774 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.082 H 261.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2E4774
RGBrgb(46, 71, 116)
HSLhsl(219, 43%, 32%)
HSVhsv(219, 60%, 45%)
CMYKcmyk(60.3%, 38.8%, 0%, 54.5%)
CIE-LABlab(30.27, 5.34, -28.75)
CIE-LCHlch(30.27, 29.24, 280.53°)
OKLaboklab(40.05% -0.0123 -0.0814)
OKLCHoklch(40.05% 0.082 261.4)
XYZxyz(6.5312, 6.3477, 17.4007)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4774 #745B2E
analogous
#2E6A74 #2E4774 #382E74
triadic
#2E4774 #742E47 #47742E
tetradic
#2E4774 #742E6A #745B2E #2E7438
square
#2E4774 #742E6A #745B2E #2E7438
split-complementary
#2E4774 #74382E #6A742E
monochromatic
#0B111C #1D2C48 #2E4774 #3F62A0 #5D80BF

Accessibility & contrast

On white

9.25
#2E4774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E4774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4774
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4774#FFFFFF#000000##FFFFFF
##2E47741.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B76
Deuteranopia (green-blind)
#2B4473
Tritanopia (blue-blind)
#005158
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4774;
/* rgb */ color: rgb(46, 71, 116);
/* oklch */ color: oklch(40.1% 0.082 261.4);
Tailwind
colors: {
  custom: {
    50: '#6d799c',
    500: '#2e4774',
    950: '#000000',
  },
}
SCSS
$custom: #2e4774;
$custom-light: #6d799c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4774",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 116
  },
  "hsl": {
    "h": 218.571,
    "s": 43.21,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40053,
    "c": 0.08238,
    "h": 261.4
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#2E4774
secondary
#A58A59
accent
#A655D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4774

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

Preview Lab → · Contrast checker → · Palette generator →

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