#2E4366#2E4366

#2E4366 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.2% C 0.066 H 260.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2E4366
RGBrgb(46, 67, 102)
HSLhsl(218, 38%, 29%)
HSVhsv(218, 55%, 40%)
CMYKcmyk(54.9%, 34.3%, 0%, 60%)
CIE-LABlab(28.26, 2.99, -23.05)
CIE-LCHlch(28.26, 23.24, 277.40°)
OKLaboklab(38.24% -0.0112 -0.0649)
OKLCHoklch(38.24% 0.066 260.2)
XYZxyz(5.5313, 5.5541, 13.3484)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4366 #66512E
analogous
#2E5F66 #2E4366 #352E66
triadic
#2E4366 #662E43 #43662E
tetradic
#2E4366 #662E5F #66512E #2E6635
square
#2E4366 #662E5F #66512E #2E6635
split-complementary
#2E4366 #66352E #5F662E
monochromatic
#0A0E15 #1B273C #2E4366 #415F90 #5A7CB5

Accessibility & contrast

On white

9.95
#2E4366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E4366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4366
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4366#FFFFFF#000000##FFFFFF
##2E43661.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354667
Deuteranopia (green-blind)
#2F4065
Tritanopia (blue-blind)
#124B50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4366;
/* rgb */ color: rgb(46, 67, 102);
/* oklch */ color: oklch(38.2% 0.066 260.2);
Tailwind
colors: {
  custom: {
    50: '#6b7692',
    500: '#2e4366',
    950: '#000000',
  },
}
SCSS
$custom: #2e4366;
$custom-light: #6b7692;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4366",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 217.5,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.06581,
    "h": 260.2
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#2E4366
secondary
#988058
accent
#A25ACE
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #2E4366

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

Preview Lab → · Contrast checker → · Palette generator →

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