#2E476B#2E476B

#2E476B is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.069 H 257.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2E476B
RGBrgb(46, 71, 107)
HSLhsl(215, 40%, 30%)
HSVhsv(215, 57%, 42%)
CMYKcmyk(57%, 33.6%, 0%, 58%)
CIE-LABlab(29.78, 2.11, -23.84)
CIE-LCHlch(29.78, 23.93, 275.05°)
OKLaboklab(39.51% -0.0149 -0.0671)
OKLCHoklch(39.51% 0.069 257.5)
XYZxyz(6.0329, 6.1484, 14.7759)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E476B #6B522E
analogous
#2E656B #2E476B #342E6B
triadic
#2E476B #6B2E47 #476B2E
tetradic
#2E476B #6B2E65 #6B522E #2E6B34
square
#2E476B #6B2E65 #6B522E #2E6B34
split-complementary
#2E476B #6B342E #656B2E
monochromatic
#090E15 #1C2B40 #2E476B #406396 #5B81B8

Accessibility & contrast

On white

9.42
#2E476B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2E476B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E476B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E476B#FFFFFF#000000##FFFFFF
##2E476B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496D
Deuteranopia (green-blind)
#31446A
Tritanopia (blue-blind)
#0A4F54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e476b;
/* rgb */ color: rgb(46, 71, 107);
/* oklch */ color: oklch(39.5% 0.069 257.5);
Tailwind
colors: {
  custom: {
    50: '#6c7a95',
    500: '#2e476b',
    950: '#000000',
  },
}
SCSS
$custom: #2e476b;
$custom-light: #6c7a95;
$custom-dark: #000000;
JSON
{
  "hex": "#2e476b",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 107
  },
  "hsl": {
    "h": 215.41,
    "s": 39.869,
    "l": 30
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.06877,
    "h": 257.5
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#2E476B
secondary
#9D8158
accent
#9F58D0
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2E476B

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

Preview Lab → · Contrast checker → · Palette generator →

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