#2E3695#2E3695

#2E3695 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.154 H 273.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2E3695
RGBrgb(46, 54, 149)
HSLhsl(235, 53%, 38%)
HSVhsv(235, 69%, 58%)
CMYKcmyk(69.1%, 63.8%, 0%, 41.6%)
CIE-LABlab(27.81, 29.07, -53.22)
CIE-LCHlch(27.81, 60.64, 298.64°)
OKLaboklab(38.94% 0.0085 -0.1535)
OKLCHoklch(38.94% 0.154 273.2)
XYZxyz(7.8689, 5.3884, 29.0533)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3695 #958D2E
analogous
#2E6995 #2E3695 #592E95
triadic
#2E3695 #952E36 #36952E
tetradic
#2E3695 #952E69 #958D2E #2E9559
square
#2E3695 #952E69 #958D2E #2E9559
split-complementary
#2E3695 #95592E #69952E
monochromatic
#111437 #202566 #2E3695 #3D47C3 #6C74D2

Accessibility & contrast

On white

10.11
#2E3695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E3695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3695
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3695#FFFFFF#000000##FFFFFF
##2E36951.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e3695;
/* rgb */ color: rgb(46, 54, 149);
/* oklch */ color: oklch(38.9% 0.154 273.2);
Tailwind
colors: {
  custom: {
    50: '#756db5',
    500: '#2e3695',
    950: '#000000',
  },
}
SCSS
$custom: #2e3695;
$custom-light: #756db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3695",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 149
  },
  "hsl": {
    "h": 235.34,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.15376,
    "h": 273.2
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#2E3695
secondary
#B9B266
accent
#D14CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3695

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

Preview Lab → · Contrast checker → · Palette generator →

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