#2E4166#2E4166

#2E4166 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.068 H 262.8°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2E4166
RGBrgb(46, 65, 102)
HSLhsl(220, 38%, 29%)
HSVhsv(220, 55%, 40%)
CMYKcmyk(54.9%, 36.3%, 0%, 60%)
CIE-LABlab(27.63, 4.33, -24.04)
CIE-LCHlch(27.63, 24.42, 280.22°)
OKLaboklab(37.75% -0.0085 -0.0677)
OKLCHoklch(37.75% 0.068 262.8)
XYZxyz(5.4145, 5.3204, 13.3094)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4166 #66532E
analogous
#2E5D66 #2E4166 #372E66
triadic
#2E4166 #662E41 #41662E
tetradic
#2E4166 #662E5D #66532E #2E6637
square
#2E4166 #662E5D #66532E #2E6637
split-complementary
#2E4166 #66372E #5D662E
monochromatic
#0A0D15 #1B263C #2E4166 #415C90 #5A79B5

Accessibility & contrast

On white

10.17
#2E4166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E4166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4166
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4166#FFFFFF#000000##FFFFFF
##2E41661.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334468
Deuteranopia (green-blind)
#2C3F65
Tritanopia (blue-blind)
#13494E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e4166;
/* rgb */ color: rgb(46, 65, 102);
/* oklch */ color: oklch(37.7% 0.068 262.8);
Tailwind
colors: {
  custom: {
    50: '#6b7592',
    500: '#2e4166',
    950: '#000000',
  },
}
SCSS
$custom: #2e4166;
$custom-light: #6b7592;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4166",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 219.643,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37746,
    "c": 0.06828,
    "h": 262.8
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#2E4166
secondary
#988258
accent
#A75ACE
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #2E4166

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

Preview Lab → · Contrast checker → · Palette generator →

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