#2E477D#2E477D

#2E477D is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.096 H 263.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2E477D
RGBrgb(46, 71, 125)
HSLhsl(221, 46%, 34%)
HSVhsv(221, 63%, 49%)
CMYKcmyk(63.2%, 43.2%, 0%, 51%)
CIE-LABlab(30.80, 8.65, -33.55)
CIE-LCHlch(30.80, 34.65, 284.46°)
OKLaboklab(40.63% -0.0102 -0.0955)
OKLCHoklch(40.63% 0.096 263.9)
XYZxyz(7.0803, 6.5674, 20.2926)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E477D #7D642E
analogous
#2E6E7D #2E477D #3C2E7D
triadic
#2E477D #7D2E47 #477D2E
tetradic
#2E477D #7D2E6E #7D642E #2E7D3C
square
#2E477D #7D2E6E #7D642E #2E7D3C
split-complementary
#2E477D #7D3C2E #6E7D2E
monochromatic
#0D1424 #1E2E50 #2E477D #3E60AA #6180C5

Accessibility & contrast

On white

9.08
#2E477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E477D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E477D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E477D#FFFFFF#000000##FFFFFF
##2E477D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#24457C
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e477d;
/* rgb */ color: rgb(46, 71, 125);
/* oklch */ color: oklch(40.6% 0.096 263.9);
Tailwind
colors: {
  custom: {
    50: '#6f79a3',
    500: '#2e477d',
    950: '#000000',
  },
}
SCSS
$custom: #2e477d;
$custom-light: #6f79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e477d",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 221.013,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.09603,
    "h": 263.9
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#2E477D
secondary
#AB925B
accent
#AC52D6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E477D

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

Preview Lab → · Contrast checker → · Palette generator →

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