#2E2E8D#2E2E8D

#2E2E8D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.153 H 275.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2E2E8D
RGBrgb(46, 46, 141)
HSLhsl(240, 51%, 37%)
HSVhsv(240, 67%, 55%)
CMYKcmyk(67.4%, 67.4%, 0%, 44.7%)
CIE-LABlab(25.13, 31.40, -52.67)
CIE-LCHlch(25.13, 61.32, 300.80°)
OKLaboklab(36.75% 0.0155 -0.152)
OKLCHoklch(36.75% 0.153 275.8)
XYZxyz(6.9099, 4.4573, 25.6903)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E8D #8D8D2E
analogous
#2E5E8D #2E2E8D #5E2E8D
triadic
#2E2E8D #8D2E2E #2E8D2E
tetradic
#2E2E8D #8D2E5E #8D8D2E #2E8D5E
square
#2E2E8D #8D2E5E #8D8D2E #2E8D5E
split-complementary
#2E2E8D #8D5E2E #5E8D2E
monochromatic
#101031 #1F1F5F #2E2E8D #3D3DBB #6868CE

Accessibility & contrast

On white

11.10
#2E2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E8D
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E8D#FFFFFF#000000##FFFFFF
##2E2E8D1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2e8d;
/* rgb */ color: rgb(46, 46, 141);
/* oklch */ color: oklch(36.8% 0.153 275.8);
Tailwind
colors: {
  custom: {
    50: '#7367af',
    500: '#2e2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e8d;
$custom-light: #7367af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e8d",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.15276,
    "h": 275.8
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#2E2E8D
secondary
#B5B562
accent
#DA4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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