#2E2F4E#2E2F4E

#2E2F4E is a dark, muted blue. Relative luminance 0.032; OKLCH L 31.9% C 0.055 H 281.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#2E2F4E
RGBrgb(46, 47, 78)
HSLhsl(238, 26%, 24%)
HSVhsv(238, 41%, 31%)
CMYKcmyk(41%, 39.7%, 0%, 69.4%)
CIE-LABlab(20.69, 8.49, -19.21)
CIE-LCHlch(20.69, 21.00, 293.85°)
OKLaboklab(31.95% 0.0109 -0.0538)
OKLCHoklch(31.95% 0.055 281.4)
XYZxyz(3.5180, 3.1638, 7.6316)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F4E #4E4D2E
analogous
#2E3F4E #2E2F4E #3D2E4E
triadic
#2E2F4E #4E2E2F #2F4E2E
tetradic
#2E2F4E #4E2E3F #4E4D2E #2E4E3D
square
#2E2F4E #4E2E3F #4E4D2E #2E4E3D
split-complementary
#2E2F4E #4E3D2E #3F4E2E
monochromatic
#0B0C13 #171828 #2E2F4E #454674 #5B5D9B

Accessibility & contrast

On white

12.86
#2E2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F4E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F4E#FFFFFF#000000##FFFFFF
##2E2F4E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#23314D
Tritanopia (blue-blind)
#25353A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2f4e;
/* rgb */ color: rgb(46, 47, 78);
/* oklch */ color: oklch(31.9% 0.055 281.4);
Tailwind
colors: {
  custom: {
    50: '#68677f',
    500: '#2e2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f4e;
$custom-light: #68677f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f4e",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 238.125,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3195,
    "c": 0.05488,
    "h": 281.4
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#2E2F4E
secondary
#7F7E58
accent
#BF66C2
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2E2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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