#2E476D#2E476D

#2E476D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.6% C 0.072 H 258.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2E476D
RGBrgb(46, 71, 109)
HSLhsl(216, 41%, 30%)
HSVhsv(216, 58%, 43%)
CMYKcmyk(57.8%, 34.9%, 0%, 57.3%)
CIE-LABlab(29.89, 2.82, -24.94)
CIE-LCHlch(29.89, 25.10, 276.44°)
OKLaboklab(39.63% -0.0143 -0.0703)
OKLCHoklch(39.63% 0.072 258.5)
XYZxyz(6.1393, 6.1910, 15.3365)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E476D #6D542E
analogous
#2E666D #2E476D #342E6D
triadic
#2E476D #6D2E47 #476D2E
tetradic
#2E476D #6D2E66 #6D542E #2E6D34
square
#2E476D #6D2E66 #6D542E #2E6D34
split-complementary
#2E476D #6D342E #666D2E
monochromatic
#0A0F17 #1C2B42 #2E476D #406398 #5B81BA

Accessibility & contrast

On white

9.38
#2E476D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E476D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E476D#FFFFFF#000000##FFFFFF
##2E476D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#30446C
Tritanopia (blue-blind)
#074F55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e476d;
/* rgb */ color: rgb(46, 71, 109);
/* oklch */ color: oklch(39.6% 0.072 258.5);
Tailwind
colors: {
  custom: {
    50: '#6c7a97',
    500: '#2e476d',
    950: '#000000',
  },
}
SCSS
$custom: #2e476d;
$custom-light: #6c7a97;
$custom-dark: #000000;
JSON
{
  "hex": "#2e476d",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 109
  },
  "hsl": {
    "h": 216.19,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39629,
    "c": 0.07177,
    "h": 258.5
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#2E476D
secondary
#9F8358
accent
#A057D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2E476D

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

Preview Lab → · Contrast checker → · Palette generator →

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