#2E3783#2E3783

#2E3783 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.127 H 273.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2E3783
RGBrgb(46, 55, 131)
HSLhsl(234, 48%, 35%)
HSVhsv(234, 65%, 51%)
CMYKcmyk(64.9%, 58%, 0%, 48.6%)
CIE-LABlab(26.60, 21.79, -44.05)
CIE-LCHlch(26.60, 49.15, 296.32°)
OKLaboklab(37.57% 0.0078 -0.1266)
OKLCHoklch(37.57% 0.127 273.5)
XYZxyz(6.5883, 4.9514, 22.0768)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3783 #837A2E
analogous
#2E6283 #2E3783 #502E83
triadic
#2E3783 #832E37 #37832E
tetradic
#2E3783 #832E62 #837A2E #2E8350
square
#2E3783 #832E62 #837A2E #2E8350
split-complementary
#2E3783 #83502E #62832E
monochromatic
#0E1128 #1E2456 #2E3783 #3E4AB0 #636EC8

Accessibility & contrast

On white

10.55
#2E3783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E3783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3783
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3783#FFFFFF#000000##FFFFFF
##2E37831.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e3783;
/* rgb */ color: rgb(46, 55, 131);
/* oklch */ color: oklch(37.6% 0.127 273.5);
Tailwind
colors: {
  custom: {
    50: '#716da8',
    500: '#2e3783',
    950: '#000000',
  },
}
SCSS
$custom: #2e3783;
$custom-light: #716da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3783",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 233.647,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37572,
    "c": 0.12683,
    "h": 273.5
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#2E3783
secondary
#AFA65E
accent
#C950D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3783

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

Preview Lab → · Contrast checker → · Palette generator →

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