#2E396C#2E396C

#2E396C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.089 H 272.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2E396C
RGBrgb(46, 57, 108)
HSLhsl(229, 40%, 30%)
HSVhsv(229, 57%, 42%)
CMYKcmyk(57.4%, 47.2%, 0%, 57.6%)
CIE-LABlab(25.53, 11.96, -31.21)
CIE-LCHlch(25.53, 33.42, 290.96°)
OKLaboklab(36.25% 0.0033 -0.0888)
OKLCHoklch(36.25% 0.089 272.1)
XYZxyz(5.2957, 4.5894, 14.7912)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E396C #6C612E
analogous
#2E586C #2E396C #422E6C
triadic
#2E396C #6C2E39 #396C2E
tetradic
#2E396C #6C2E58 #6C612E #2E6C42
square
#2E396C #6C2E58 #6C612E #2E6C42
split-complementary
#2E396C #6C422E #586C2E
monochromatic
#090C16 #1C2241 #2E396C #405097 #5B6CB9

Accessibility & contrast

On white

10.95
#2E396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E396C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E396C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E396C#FFFFFF#000000##FFFFFF
##2E396C1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6E
Deuteranopia (green-blind)
#1B3A6B
Tritanopia (blue-blind)
#0E444D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e396c;
/* rgb */ color: rgb(46, 57, 108);
/* oklch */ color: oklch(36.2% 0.089 272.1);
Tailwind
colors: {
  custom: {
    50: '#6c6f96',
    500: '#2e396c',
    950: '#000000',
  },
}
SCSS
$custom: #2e396c;
$custom-light: #6c6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2e396c",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 229.355,
    "s": 40.26,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36246,
    "c": 0.08884,
    "h": 272.1
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#2E396C
secondary
#9E9158
accent
#BB58D0
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2E396C

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

Preview Lab → · Contrast checker → · Palette generator →

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