#2E2F4C#2E2F4C

#2E2F4C is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.8% C 0.051 H 281.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2E2F4C
RGBrgb(46, 47, 76)
HSLhsl(238, 25%, 24%)
HSVhsv(238, 39%, 30%)
CMYKcmyk(39.5%, 38.2%, 0%, 70.2%)
CIE-LABlab(20.58, 7.84, -18.03)
CIE-LCHlch(20.58, 19.66, 293.50°)
OKLaboklab(31.83% 0.0103 -0.0504)
OKLCHoklch(31.83% 0.051 281.5)
XYZxyz(3.4474, 3.1356, 7.2597)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F4C #4C4B2E
analogous
#2E3E4C #2E2F4C #3C2E4C
triadic
#2E2F4C #4C2E2F #2F4C2E
tetradic
#2E2F4C #4C2E3E #4C4B2E #2E4C3C
square
#2E2F4C #4C2E3E #4C4B2E #2E4C3C
split-complementary
#2E2F4C #4C3C2E #3E4C2E
monochromatic
#0C0C13 #171726 #2E2F4C #454772 #5C5E98

Accessibility & contrast

On white

12.91
#2E2F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F4C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F4C#FFFFFF#000000##FFFFFF
##2E2F4C1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334D
Deuteranopia (green-blind)
#24314B
Tritanopia (blue-blind)
#26353A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2f4c;
/* rgb */ color: rgb(46, 47, 76);
/* oklch */ color: oklch(31.8% 0.051 281.5);
Tailwind
colors: {
  custom: {
    50: '#68677e',
    500: '#2e2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f4c;
$custom-light: #68677e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f4c",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 238,
    "s": 24.59,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3183,
    "c": 0.05144,
    "h": 281.5
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#2E2F4C
secondary
#7D7C59
accent
#BE67C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2E2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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