#2E334D#2E334D

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

Color values

HEX#2E334D
RGBrgb(46, 51, 77)
HSLhsl(230, 25%, 24%)
HSVhsv(230, 40%, 30%)
CMYKcmyk(40.3%, 33.8%, 0%, 69.8%)
CIE-LABlab(21.89, 5.38, -16.66)
CIE-LCHlch(21.89, 17.51, 287.89°)
OKLaboklab(32.86% 0.0042 -0.0464)
OKLCHoklch(32.86% 0.047 275.2)
XYZxyz(3.6497, 3.4842, 7.5000)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E334D #4D482E
analogous
#2E434D #2E334D #392E4D
triadic
#2E334D #4D2E33 #334D2E
tetradic
#2E334D #4D2E43 #4D482E #2E4D39
square
#2E334D #4D2E43 #4D482E #2E4D39
split-complementary
#2E334D #4D392E #434D2E
monochromatic
#0B0D13 #171A27 #2E334D #454C73 #5C669A

Accessibility & contrast

On white

12.38
#2E334D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E334D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E334D#FFFFFF#000000##FFFFFF
##2E334D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364E
Deuteranopia (green-blind)
#28334C
Tritanopia (blue-blind)
#25383C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e334d;
/* rgb */ color: rgb(46, 51, 77);
/* oklch */ color: oklch(32.9% 0.047 275.2);
Tailwind
colors: {
  custom: {
    50: '#686a7f',
    500: '#2e334d',
    950: '#000000',
  },
}
SCSS
$custom: #2e334d;
$custom-light: #686a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e334d",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 230.323,
    "s": 25.203,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32857,
    "c": 0.04664,
    "h": 275.2
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#2E334D
secondary
#7E7858
accent
#B366C2
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2E334D

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

Preview Lab → · Contrast checker → · Palette generator →

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