#2E2E57#2E2E57

#2E2E57 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.072 H 281.6°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#2E2E57
RGBrgb(46, 46, 87)
HSLhsl(240, 31%, 26%)
HSVhsv(240, 47%, 34%)
CMYKcmyk(47.1%, 47.1%, 0%, 65.9%)
CIE-LABlab(20.91, 12.20, -24.86)
CIE-LCHlch(20.91, 27.69, 296.15°)
OKLaboklab(32.3% 0.0144 -0.0703)
OKLCHoklch(32.3% 0.072 281.6)
XYZxyz(3.8235, 3.2228, 9.4356)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E57 #57572E
analogous
#2E4257 #2E2E57 #422E57
triadic
#2E2E57 #572E2E #2E572E
tetradic
#2E2E57 #572E42 #57572E #2E5742
square
#2E2E57 #572E42 #57572E #2E5742
split-complementary
#2E2E57 #57422E #42572E
monochromatic
#0B0B14 #19192F #2E2E57 #43437F #5858A7

Accessibility & contrast

On white

12.77
#2E2E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2E2E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E57
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E57#FFFFFF#000000##FFFFFF
##2E2E571.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3459
Deuteranopia (green-blind)
#1C3156
Tritanopia (blue-blind)
#21363E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2e57;
/* rgb */ color: rgb(46, 46, 87);
/* oklch */ color: oklch(32.3% 0.072 281.6);
Tailwind
colors: {
  custom: {
    50: '#696686',
    500: '#2e2e57',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e57;
$custom-light: #696686;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e57",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 240,
    "s": 30.827,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32296,
    "c": 0.07174,
    "h": 281.6
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#2E2E57
secondary
#898958
accent
#C761C7
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2E2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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