#2E355F#2E355F

#2E355F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.4% C 0.074 H 274.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2E355F
RGBrgb(46, 53, 95)
HSLhsl(231, 35%, 28%)
HSVhsv(231, 52%, 37%)
CMYKcmyk(51.6%, 44.2%, 0%, 62.7%)
CIE-LABlab(23.52, 10.08, -26.00)
CIE-LCHlch(23.52, 27.89, 291.19°)
OKLaboklab(34.44% 0.0061 -0.0736)
OKLCHoklch(34.44% 0.074 274.7)
XYZxyz(4.4647, 3.9530, 11.3520)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E355F #5F582E
analogous
#2E4D5F #2E355F #402E5F
triadic
#2E355F #5F2E35 #355F2E
tetradic
#2E355F #5F2E4D #5F582E #2E5F40
square
#2E355F #5F2E4D #5F582E #2E5F40
split-complementary
#2E355F #5F402E #4D5F2E
monochromatic
#0A0C15 #1A1E36 #2E355F #424C88 #5965AF

Accessibility & contrast

On white

11.73
#2E355F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E355F
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E355F#FFFFFF#000000##FFFFFF
##2E355F1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A61
Deuteranopia (green-blind)
#20365E
Tritanopia (blue-blind)
#1B3E45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e355f;
/* rgb */ color: rgb(46, 53, 95);
/* oklch */ color: oklch(34.4% 0.074 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a6c8c',
    500: '#2e355f',
    950: '#000000',
  },
}
SCSS
$custom: #2e355f;
$custom-light: #6a6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e355f",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 95
  },
  "hsl": {
    "h": 231.429,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34441,
    "c": 0.07382,
    "h": 274.7
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#2E355F
secondary
#918958
accent
#BB5DCB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E355F

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

Preview Lab → · Contrast checker → · Palette generator →

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