#2E2883#2E2883

#2E2883 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.147 H 278.5°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#2E2883
RGBrgb(46, 40, 131)
HSLhsl(244, 53%, 34%)
HSVhsv(244, 69%, 51%)
CMYKcmyk(64.9%, 69.5%, 0%, 48.6%)
CIE-LABlab(22.78, 31.72, -50.27)
CIE-LCHlch(22.78, 59.44, 302.25°)
OKLaboklab(34.77% 0.0216 -0.1449)
OKLCHoklch(34.77% 0.147 278.5)
XYZxyz(5.9809, 3.7366, 21.8744)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2883 #7D8328
analogous
#284F83 #2E2883 #5B2883
triadic
#2E2883 #832E28 #28832E
tetradic
#2E2883 #83284F #7D8328 #28835B
square
#2E2883 #83284F #7D8328 #28835B
split-complementary
#2E2883 #835B28 #4F8328
monochromatic
#0D0B25 #1E1A54 #2E2883 #3E36B2 #6159CC

Accessibility & contrast

On white

12.02
#2E2883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E2883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2883
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2883#FFFFFF#000000##FFFFFF
##2E28831.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2883;
/* rgb */ color: rgb(46, 40, 131);
/* oklch */ color: oklch(34.8% 0.147 278.5);
Tailwind
colors: {
  custom: {
    50: '#7263a8',
    500: '#2e2883',
    950: '#000000',
  },
}
SCSS
$custom: #2e2883;
$custom-light: #7263a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2883",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 243.956,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34768,
    "c": 0.14655,
    "h": 278.5
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#2E2883
secondary
#ABB155
accent
#DD4BD3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2883

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

Preview Lab → · Contrast checker → · Palette generator →

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