#2E375E#2E375E

#2E375E is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.069 H 272.5°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2E375E
RGBrgb(46, 55, 94)
HSLhsl(229, 34%, 27%)
HSVhsv(229, 51%, 37%)
CMYKcmyk(51.1%, 41.5%, 0%, 63.1%)
CIE-LABlab(24.07, 8.34, -24.47)
CIE-LCHlch(24.07, 25.86, 288.83°)
OKLaboklab(34.85% 0.0031 -0.0691)
OKLCHoklch(34.85% 0.069 272.5)
XYZxyz(4.5126, 4.1211, 11.1452)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E375E #5E552E
analogous
#2E4F5E #2E375E #3D2E5E
triadic
#2E375E #5E2E37 #375E2E
tetradic
#2E375E #5E2E4F #5E552E #2E5E3D
square
#2E375E #5E2E4F #5E552E #2E5E3D
split-complementary
#2E375E #5E3D2E #4F5E2E
monochromatic
#0A0C15 #1A1F35 #2E375E #424F87 #5969AE

Accessibility & contrast

On white

11.51
#2E375E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E375E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E375E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E375E#FFFFFF#000000##FFFFFF
##2E375E1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B60
Deuteranopia (green-blind)
#24375D
Tritanopia (blue-blind)
#1C3F46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e375e;
/* rgb */ color: rgb(46, 55, 94);
/* oklch */ color: oklch(34.8% 0.069 272.5);
Tailwind
colors: {
  custom: {
    50: '#6a6d8c',
    500: '#2e375e',
    950: '#000000',
  },
}
SCSS
$custom: #2e375e;
$custom-light: #6a6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e375e",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 94
  },
  "hsl": {
    "h": 228.75,
    "s": 34.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34845,
    "c": 0.06916,
    "h": 272.5
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#2E375E
secondary
#908558
accent
#B65DCA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #2E375E

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

Preview Lab → · Contrast checker → · Palette generator →

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