#2E334E#2E334E

#2E334E is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.9% C 0.048 H 275.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2E334E
RGBrgb(46, 51, 78)
HSLhsl(231, 26%, 24%)
HSVhsv(231, 41%, 31%)
CMYKcmyk(41%, 34.6%, 0%, 69.4%)
CIE-LABlab(21.94, 5.70, -17.25)
CIE-LCHlch(21.94, 18.17, 288.30°)
OKLaboklab(32.91% 0.0045 -0.0481)
OKLCHoklch(32.91% 0.048 275.4)
XYZxyz(3.6853, 3.4984, 7.6873)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E334E #4E492E
analogous
#2E434E #2E334E #392E4E
triadic
#2E334E #4E2E33 #334E2E
tetradic
#2E334E #4E2E43 #4E492E #2E4E39
square
#2E334E #4E2E43 #4E492E #2E4E39
split-complementary
#2E334E #4E392E #434E2E
monochromatic
#0B0D13 #171A28 #2E334E #454C74 #5B659B

Accessibility & contrast

On white

12.35
#2E334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E334E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E334E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E334E#FFFFFF#000000##FFFFFF
##2E334E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364F
Deuteranopia (green-blind)
#28334D
Tritanopia (blue-blind)
#25383D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e334e;
/* rgb */ color: rgb(46, 51, 78);
/* oklch */ color: oklch(32.9% 0.048 275.4);
Tailwind
colors: {
  custom: {
    50: '#686a7f',
    500: '#2e334e',
    950: '#000000',
  },
}
SCSS
$custom: #2e334e;
$custom-light: #686a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e334e",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 230.625,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32914,
    "c": 0.04835,
    "h": 275.4
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#2E334E
secondary
#7F7958
accent
#B466C2
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2E334E

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

Preview Lab → · Contrast checker → · Palette generator →

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