#2E2E9F#2E2E9F

#2E2E9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.177 H 274.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2E2E9F
RGBrgb(46, 46, 159)
HSLhsl(240, 55%, 40%)
HSVhsv(240, 71%, 62%)
CMYKcmyk(71.1%, 71.1%, 0%, 37.6%)
CIE-LABlab(26.84, 37.70, -60.92)
CIE-LCHlch(26.84, 71.64, 301.75°)
OKLaboklab(38.51% 0.0132 -0.1761)
OKLCHoklch(38.51% 0.177 274.3)
XYZxyz(8.3596, 5.0372, 33.3259)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E9F #9F9F2E
analogous
#2E669F #2E2E9F #662E9F
triadic
#2E2E9F #9F2E2E #2E9F2E
tetradic
#2E2E9F #9F2E66 #9F9F2E #2E9F66
square
#2E2E9F #9F2E66 #9F9F2E #2E9F66
split-complementary
#2E2E9F #9F662E #669F2E
monochromatic
#131340 #202070 #2E2E9F #4242C8 #7171D6

Accessibility & contrast

On white

10.46
#2E2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E9F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E9F#FFFFFF#000000##FFFFFF
##2E2E9F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2e9f;
/* rgb */ color: rgb(46, 46, 159);
/* oklch */ color: oklch(38.5% 0.177 274.3);
Tailwind
colors: {
  custom: {
    50: '#7868bc',
    500: '#2e2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e9f;
$custom-light: #7868bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e9f",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38513,
    "c": 0.1766,
    "h": 274.3
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#2E2E9F
secondary
#BEBE6B
accent
#DE49DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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