#2E396D#2E396D

#2E396D is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.090 H 272.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2E396D
RGBrgb(46, 57, 109)
HSLhsl(230, 41%, 30%)
HSVhsv(230, 58%, 43%)
CMYKcmyk(57.8%, 47.7%, 0%, 57.3%)
CIE-LABlab(25.60, 12.32, -31.74)
CIE-LCHlch(25.60, 34.05, 291.21°)
OKLaboklab(36.32% 0.0035 -0.0904)
OKLCHoklch(36.32% 0.09 272.2)
XYZxyz(5.3493, 4.6108, 15.0731)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E396D #6D622E
analogous
#2E586D #2E396D #422E6D
triadic
#2E396D #6D2E39 #396D2E
tetradic
#2E396D #6D2E58 #6D622E #2E6D42
square
#2E396D #6D2E58 #6D622E #2E6D42
split-complementary
#2E396D #6D422E #586D2E
monochromatic
#0A0C17 #1C2242 #2E396D #405098 #5B6CBA

Accessibility & contrast

On white

10.92
#2E396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E396D
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E396D#FFFFFF#000000##FFFFFF
##2E396D1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6F
Deuteranopia (green-blind)
#1A3A6C
Tritanopia (blue-blind)
#0C444D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e396d;
/* rgb */ color: rgb(46, 57, 109);
/* oklch */ color: oklch(36.3% 0.090 272.2);
Tailwind
colors: {
  custom: {
    50: '#6c6f97',
    500: '#2e396d',
    950: '#000000',
  },
}
SCSS
$custom: #2e396d;
$custom-light: #6c6f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2e396d",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 229.524,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36316,
    "c": 0.09043,
    "h": 272.2
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#2E396D
secondary
#9F9258
accent
#BB57D0
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2E396D

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

Preview Lab → · Contrast checker → · Palette generator →

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