#2E476E#2E476E

#2E476E is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.7% C 0.073 H 259.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2E476E
RGBrgb(46, 71, 110)
HSLhsl(217, 41%, 31%)
HSVhsv(217, 58%, 43%)
CMYKcmyk(58.2%, 35.5%, 0%, 56.9%)
CIE-LABlab(29.94, 3.18, -25.49)
CIE-LCHlch(29.94, 25.69, 277.10°)
OKLaboklab(39.69% -0.014 -0.0719)
OKLCHoklch(39.69% 0.073 259)
XYZxyz(6.1935, 6.2126, 15.6216)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E476E #6E552E
analogous
#2E676E #2E476E #352E6E
triadic
#2E476E #6E2E47 #476E2E
tetradic
#2E476E #6E2E67 #6E552E #2E6E35
square
#2E476E #6E2E67 #6E552E #2E6E35
split-complementary
#2E476E #6E352E #676E2E
monochromatic
#0A0F18 #1C2B43 #2E476E #406399 #5C81BB

Accessibility & contrast

On white

9.36
#2E476E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E476E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E476E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E476E#FFFFFF#000000##FFFFFF
##2E476E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A70
Deuteranopia (green-blind)
#2F446D
Tritanopia (blue-blind)
#055055
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e476e;
/* rgb */ color: rgb(46, 71, 110);
/* oklch */ color: oklch(39.7% 0.073 259.0);
Tailwind
colors: {
  custom: {
    50: '#6c7a98',
    500: '#2e476e',
    950: '#000000',
  },
}
SCSS
$custom: #2e476e;
$custom-light: #6c7a98;
$custom-dark: #000000;
JSON
{
  "hex": "#2e476e",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 110
  },
  "hsl": {
    "h": 216.563,
    "s": 41.026,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.07328,
    "h": 259
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#2E476E
secondary
#9F8458
accent
#A157D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2E476E

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

Preview Lab → · Contrast checker → · Palette generator →

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