#2E2F52#2E2F52

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

Color values

HEX#2E2F52
RGBrgb(46, 47, 82)
HSLhsl(238, 28%, 25%)
HSVhsv(238, 44%, 32%)
CMYKcmyk(43.9%, 42.7%, 0%, 67.8%)
CIE-LABlab(20.92, 9.81, -21.53)
CIE-LCHlch(20.92, 23.66, 294.51°)
OKLaboklab(32.2% 0.0119 -0.0605)
OKLCHoklch(32.2% 0.062 281.1)
XYZxyz(3.6658, 3.2229, 8.4099)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F52 #52512E
analogous
#2E4152 #2E2F52 #3F2E52
triadic
#2E2F52 #522E2F #2F522E
tetradic
#2E2F52 #522E41 #52512E #2E523F
square
#2E2F52 #522E41 #52512E #2E523F
split-complementary
#2E2F52 #523F2E #41522E
monochromatic
#0B0B14 #18192B #2E2F52 #444579 #5A5CA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2F52#FFFFFF#000000##FFFFFF
##2E2F521.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)
#233453
Deuteranopia (green-blind)
#213151
Tritanopia (blue-blind)
#23363C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2f52;
/* rgb */ color: rgb(46, 47, 82);
/* oklch */ color: oklch(32.2% 0.062 281.1);
Tailwind
colors: {
  custom: {
    50: '#696783',
    500: '#2e2f52',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f52;
$custom-light: #696783;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f52",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 238.333,
    "s": 28.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32199,
    "c": 0.06169,
    "h": 281.1
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#2E2F52
secondary
#848258
accent
#C263C4
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2E2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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