#2E2E9D#2E2E9D

#2E2E9D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.174 H 274.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2E2E9D
RGBrgb(46, 46, 157)
HSLhsl(240, 55%, 40%)
HSVhsv(240, 71%, 62%)
CMYKcmyk(70.7%, 70.7%, 0%, 38.4%)
CIE-LABlab(26.64, 37.01, -60.03)
CIE-LCHlch(26.64, 70.52, 301.66°)
OKLaboklab(38.31% 0.0135 -0.1735)
OKLCHoklch(38.31% 0.174 274.5)
XYZxyz(8.1875, 4.9684, 32.4193)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E9D #9D9D2E
analogous
#2E669D #2E2E9D #662E9D
triadic
#2E2E9D #9D2E2E #2E9D2E
tetradic
#2E2E9D #9D2E66 #9D9D2E #2E9D66
square
#2E2E9D #9D2E66 #9D9D2E #2E9D66
split-complementary
#2E2E9D #9D662E #669D2E
monochromatic
#12123E #20206E #2E2E9D #4141C7 #7070D5

Accessibility & contrast

On white

10.53
#2E2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2E9D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E9D#FFFFFF#000000##FFFFFF
##2E2E9D1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2e9d;
/* rgb */ color: rgb(46, 46, 157);
/* oklch */ color: oklch(38.3% 0.174 274.5);
Tailwind
colors: {
  custom: {
    50: '#7767bb',
    500: '#2e2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e9d;
$custom-light: #7767bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e9d",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.17401,
    "h": 274.5
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#2E2E9D
secondary
#BDBD6A
accent
#DE4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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