#2E4064#2E4064

#2E4064 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.4% C 0.066 H 263.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2E4064
RGBrgb(46, 64, 100)
HSLhsl(220, 37%, 29%)
HSVhsv(220, 54%, 39%)
CMYKcmyk(54%, 36%, 0%, 60.8%)
CIE-LABlab(27.21, 4.30, -23.42)
CIE-LCHlch(27.21, 23.81, 280.41°)
OKLaboklab(37.38% -0.0077 -0.0659)
OKLCHoklch(37.38% 0.066 263.3)
XYZxyz(5.2596, 5.1674, 12.7744)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4064 #64522E
analogous
#2E5B64 #2E4064 #372E64
triadic
#2E4064 #642E40 #40642E
tetradic
#2E4064 #642E5B #64522E #2E6437
square
#2E4064 #642E5B #64522E #2E6437
split-complementary
#2E4064 #64372E #5B642E
monochromatic
#0A0D15 #1B253A #2E4064 #415B8E #5A77B3

Accessibility & contrast

On white

10.33
#2E4064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E4064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4064
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4064#FFFFFF#000000##FFFFFF
##2E40641.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324365
Deuteranopia (green-blind)
#2C3E63
Tritanopia (blue-blind)
#15484D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e4064;
/* rgb */ color: rgb(46, 64, 100);
/* oklch */ color: oklch(37.4% 0.066 263.3);
Tailwind
colors: {
  custom: {
    50: '#6b7490',
    500: '#2e4064',
    950: '#000000',
  },
}
SCSS
$custom: #2e4064;
$custom-light: #6b7490;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4064",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 100
  },
  "hsl": {
    "h": 220,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37382,
    "c": 0.0664,
    "h": 263.3
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#2E4064
secondary
#968158
accent
#A75BCD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2E4064

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

Preview Lab → · Contrast checker → · Palette generator →

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