#2E398A#2E398A

#2E398A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.134 H 272.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2E398A
RGBrgb(46, 57, 138)
HSLhsl(233, 50%, 36%)
HSVhsv(233, 67%, 54%)
CMYKcmyk(66.7%, 58.7%, 0%, 45.9%)
CIE-LABlab(27.69, 23.02, -46.64)
CIE-LCHlch(27.69, 52.02, 296.27°)
OKLaboklab(38.56% 0.0061 -0.1342)
OKLCHoklch(38.56% 0.134 272.6)
XYZxyz(7.1758, 5.3414, 24.6927)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E398A #8A7F2E
analogous
#2E678A #2E398A #512E8A
triadic
#2E398A #8A2E39 #398A2E
tetradic
#2E398A #8A2E67 #8A7F2E #2E8A51
square
#2E398A #8A2E67 #8A7F2E #2E8A51
split-complementary
#2E398A #8A512E #678A2E
monochromatic
#0F132E #1F265C #2E398A #3D4CB8 #6672CC

Accessibility & contrast

On white

10.15
#2E398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E398A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E398A#FFFFFF#000000##FFFFFF
##2E398A1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e398a;
/* rgb */ color: rgb(46, 57, 138);
/* oklch */ color: oklch(38.6% 0.134 272.6);
Tailwind
colors: {
  custom: {
    50: '#726fad',
    500: '#2e398a',
    950: '#000000',
  },
}
SCSS
$custom: #2e398a;
$custom-light: #726fad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e398a",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 232.826,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38558,
    "c": 0.13432,
    "h": 272.6
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#2E398A
secondary
#B3A961
accent
#C94EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E398A

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

Preview Lab → · Contrast checker → · Palette generator →

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