#2E2F4D#2E2F4D

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

Color values

HEX#2E2F4D
RGBrgb(46, 47, 77)
HSLhsl(238, 25%, 24%)
HSVhsv(238, 40%, 30%)
CMYKcmyk(40.3%, 39%, 0%, 69.8%)
CIE-LABlab(20.63, 8.16, -18.62)
CIE-LCHlch(20.63, 20.33, 293.68°)
OKLaboklab(31.89% 0.0106 -0.0521)
OKLCHoklch(31.89% 0.053 281.5)
XYZxyz(3.4824, 3.1496, 7.4442)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F4D #4D4C2E
analogous
#2E3F4D #2E2F4D #3D2E4D
triadic
#2E2F4D #4D2E2F #2F4D2E
tetradic
#2E2F4D #4D2E3F #4D4C2E #2E4D3D
square
#2E2F4D #4D2E3F #4D4C2E #2E4D3D
split-complementary
#2E2F4D #4D3D2E #3F4D2E
monochromatic
#0B0C13 #171827 #2E2F4D #454673 #5C5E9A

Accessibility & contrast

On white

12.88
#2E2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F4D
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F4D#FFFFFF#000000##FFFFFF
##2E2F4D1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334E
Deuteranopia (green-blind)
#24314C
Tritanopia (blue-blind)
#25353A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2f4d;
/* rgb */ color: rgb(46, 47, 77);
/* oklch */ color: oklch(31.9% 0.053 281.5);
Tailwind
colors: {
  custom: {
    50: '#68677f',
    500: '#2e2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f4d;
$custom-light: #68677f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f4d",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 238.065,
    "s": 25.203,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3189,
    "c": 0.05316,
    "h": 281.5
  },
  "luminance": 0.0315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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