#2E3682#2E3682

#2E3682 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.127 H 274.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2E3682
RGBrgb(46, 54, 130)
HSLhsl(234, 48%, 35%)
HSVhsv(234, 65%, 51%)
CMYKcmyk(64.6%, 58.5%, 0%, 49%)
CIE-LABlab(26.25, 22.10, -44.00)
CIE-LCHlch(26.25, 49.24, 296.67°)
OKLaboklab(37.29% 0.0088 -0.1264)
OKLCHoklch(37.29% 0.127 274)
XYZxyz(6.4738, 4.8303, 21.7060)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3682 #827A2E
analogous
#2E6082 #2E3682 #502E82
triadic
#2E3682 #822E36 #36822E
tetradic
#2E3682 #822E60 #827A2E #2E8250
square
#2E3682 #822E60 #827A2E #2E8250
split-complementary
#2E3682 #82502E #60822E
monochromatic
#0E1028 #1E2355 #2E3682 #3E49AF #636CC8

Accessibility & contrast

On white

10.68
#2E3682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E3682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3682
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3682#FFFFFF#000000##FFFFFF
##2E36821.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3682;
/* rgb */ color: rgb(46, 54, 130);
/* oklch */ color: oklch(37.3% 0.127 274.0);
Tailwind
colors: {
  custom: {
    50: '#706da7',
    500: '#2e3682',
    950: '#000000',
  },
}
SCSS
$custom: #2e3682;
$custom-light: #706da7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3682",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 130
  },
  "hsl": {
    "h": 234.286,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37286,
    "c": 0.12674,
    "h": 274
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#2E3682
secondary
#AEA75D
accent
#CA50D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E3682

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

Preview Lab → · Contrast checker → · Palette generator →

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