#2E3045#2E3045

#2E3045 is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.7% C 0.038 H 279.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#2E3045
RGBrgb(46, 48, 69)
HSLhsl(235, 20%, 23%)
HSVhsv(235, 33%, 27%)
CMYKcmyk(33.3%, 30.4%, 0%, 72.9%)
CIE-LABlab(20.54, 4.94, -13.37)
CIE-LCHlch(20.54, 14.25, 290.26°)
OKLaboklab(31.68% 0.0064 -0.037)
OKLCHoklch(31.68% 0.038 279.8)
XYZxyz(3.2576, 3.1243, 6.0605)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3045 #45432E
analogous
#2E3B45 #2E3045 #382E45
triadic
#2E3045 #452E30 #30452E
tetradic
#2E3045 #452E3B #45432E #2E4538
square
#2E3045 #452E3B #45432E #2E4538
split-complementary
#2E3045 #45382E #3B452E
monochromatic
#0C0D12 #161620 #2E3045 #464A6A #5F638E

Accessibility & contrast

On white

12.92
#2E3045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2E3045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3045
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3045#FFFFFF#000000##FFFFFF
##2E30451.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3246
Deuteranopia (green-blind)
#293144
Tritanopia (blue-blind)
#283437
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e3045;
/* rgb */ color: rgb(46, 48, 69);
/* oklch */ color: oklch(31.7% 0.038 279.8);
Tailwind
colors: {
  custom: {
    50: '#676878',
    500: '#2e3045',
    950: '#000000',
  },
}
SCSS
$custom: #2e3045;
$custom-light: #676878;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3045",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 69
  },
  "hsl": {
    "h": 234.783,
    "s": 20,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31678,
    "c": 0.03756,
    "h": 279.8
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#2E3045
secondary
#767359
accent
#B66BBD
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2E3045

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

Preview Lab → · Contrast checker → · Palette generator →

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