#2E397E#2E397E

#2E397E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.117 H 272.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2E397E
RGBrgb(46, 57, 126)
HSLhsl(232, 47%, 34%)
HSVhsv(232, 63%, 49%)
CMYKcmyk(63.5%, 54.8%, 0%, 50.6%)
CIE-LABlab(26.77, 18.57, -40.64)
CIE-LCHlch(26.77, 44.68, 294.56°)
OKLaboklab(37.58% 0.0055 -0.1165)
OKLCHoklch(37.58% 0.117 272.7)
XYZxyz(6.3545, 5.0129, 20.3673)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E397E #7E732E
analogous
#2E617E #2E397E #4B2E7E
triadic
#2E397E #7E2E39 #397E2E
tetradic
#2E397E #7E2E61 #7E732E #2E7E4B
square
#2E397E #7E2E61 #7E732E #2E7E4B
split-complementary
#2E397E #7E4B2E #617E2E
monochromatic
#0D1024 #1E2551 #2E397E #3E4DAB #616FC5

Accessibility & contrast

On white

10.49
#2E397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E397E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E397E#FFFFFF#000000##FFFFFF
##2E397E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4380
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e397e;
/* rgb */ color: rgb(46, 57, 126);
/* oklch */ color: oklch(37.6% 0.117 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f6fa4',
    500: '#2e397e',
    950: '#000000',
  },
}
SCSS
$custom: #2e397e;
$custom-light: #6f6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e397e",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 231.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37584,
    "c": 0.11664,
    "h": 272.7
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#2E397E
secondary
#ACA15C
accent
#C452D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E397E

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

Preview Lab → · Contrast checker → · Palette generator →

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