#2E397D#2E397D

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

Color values

HEX#2E397D
RGBrgb(46, 57, 125)
HSLhsl(232, 46%, 34%)
HSVhsv(232, 63%, 49%)
CMYKcmyk(63.2%, 54.4%, 0%, 51%)
CIE-LABlab(26.70, 18.20, -40.13)
CIE-LCHlch(26.70, 44.06, 294.40°)
OKLaboklab(37.51% 0.0054 -0.115)
OKLCHoklch(37.51% 0.115 272.7)
XYZxyz(6.2903, 4.9873, 20.0292)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E397D #7D722E
analogous
#2E607D #2E397D #4A2E7D
triadic
#2E397D #7D2E39 #397D2E
tetradic
#2E397D #7D2E60 #7D722E #2E7D4A
square
#2E397D #7D2E60 #7D722E #2E7D4A
split-complementary
#2E397D #7D4A2E #607D2E
monochromatic
#0D1024 #1E2550 #2E397D #3E4DAA #616FC5

Accessibility & contrast

On white

10.51
#2E397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E397D
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E397D#FFFFFF#000000##FFFFFF
##2E397D1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10437F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e397d;
/* rgb */ color: rgb(46, 57, 125);
/* oklch */ color: oklch(37.5% 0.115 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f6fa3',
    500: '#2e397d',
    950: '#000000',
  },
}
SCSS
$custom: #2e397d;
$custom-light: #6f6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e397d",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 231.646,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37505,
    "c": 0.11514,
    "h": 272.7
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#2E397D
secondary
#ABA05B
accent
#C352D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E397D

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

Preview Lab → · Contrast checker → · Palette generator →

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