#2E2E8F#2E2E8F

#2E2E8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.155 H 275.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2E2E8F
RGBrgb(46, 46, 143)
HSLhsl(240, 51%, 37%)
HSVhsv(240, 68%, 56%)
CMYKcmyk(67.8%, 67.8%, 0%, 43.9%)
CIE-LABlab(25.31, 32.11, -53.61)
CIE-LCHlch(25.31, 62.49, 300.92°)
OKLaboklab(36.95% 0.0153 -0.1547)
OKLCHoklch(36.95% 0.155 275.7)
XYZxyz(7.0600, 4.5174, 26.4812)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E8F #8F8F2E
analogous
#2E5F8F #2E2E8F #5F2E8F
triadic
#2E2E8F #8F2E2E #2E8F2E
tetradic
#2E2E8F #8F2E5F #8F8F2E #2E8F5F
square
#2E2E8F #8F2E5F #8F8F2E #2E8F5F
split-complementary
#2E2E8F #8F5F2E #5F8F2E
monochromatic
#101032 #1F1F61 #2E2E8F #3D3DBD #6969CF

Accessibility & contrast

On white

11.03
#2E2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E8F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E8F#FFFFFF#000000##FFFFFF
##2E2E8F1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2e8f;
/* rgb */ color: rgb(46, 46, 143);
/* oklch */ color: oklch(36.9% 0.155 275.7);
Tailwind
colors: {
  custom: {
    50: '#7467b1',
    500: '#2e2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e8f;
$custom-light: #7467b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e8f",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36945,
    "c": 0.15548,
    "h": 275.7
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#2E2E8F
secondary
#B6B663
accent
#DB4DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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