#2E355E#2E355E

#2E355E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.072 H 274.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2E355E
RGBrgb(46, 53, 94)
HSLhsl(231, 34%, 27%)
HSVhsv(231, 51%, 37%)
CMYKcmyk(51.1%, 43.6%, 0%, 63.1%)
CIE-LABlab(23.45, 9.73, -25.44)
CIE-LCHlch(23.45, 27.24, 290.93°)
OKLaboklab(34.38% 0.0059 -0.0719)
OKLCHoklch(34.38% 0.072 274.6)
XYZxyz(4.4196, 3.9349, 11.1141)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E355E #5E572E
analogous
#2E4D5E #2E355E #3F2E5E
triadic
#2E355E #5E2E35 #355E2E
tetradic
#2E355E #5E2E4D #5E572E #2E5E3F
square
#2E355E #5E2E4D #5E572E #2E5E3F
split-complementary
#2E355E #5E3F2E #4D5E2E
monochromatic
#0A0C15 #1A1E35 #2E355E #424C87 #5965AE

Accessibility & contrast

On white

11.75
#2E355E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E355E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E355E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E355E#FFFFFF#000000##FFFFFF
##2E355E1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#21365D
Tritanopia (blue-blind)
#1C3E45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e355e;
/* rgb */ color: rgb(46, 53, 94);
/* oklch */ color: oklch(34.4% 0.072 274.6);
Tailwind
colors: {
  custom: {
    50: '#6a6c8c',
    500: '#2e355e',
    950: '#000000',
  },
}
SCSS
$custom: #2e355e;
$custom-light: #6a6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e355e",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 94
  },
  "hsl": {
    "h": 231.25,
    "s": 34.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34375,
    "c": 0.07218,
    "h": 274.6
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#2E355E
secondary
#908858
accent
#BA5DCA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E355E

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

Preview Lab → · Contrast checker → · Palette generator →

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