#2E2E6B#2E2E6B

#2E2E6B is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.104 H 279.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#2E2E6B
RGBrgb(46, 46, 107)
HSLhsl(240, 40%, 30%)
HSVhsv(240, 57%, 42%)
CMYKcmyk(57%, 57%, 0%, 58%)
CIE-LABlab(22.29, 19.22, -35.77)
CIE-LCHlch(22.29, 40.60, 298.25°)
OKLaboklab(33.77% 0.0168 -0.1023)
OKLCHoklch(33.77% 0.104 279.3)
XYZxyz(4.7567, 3.5961, 14.3505)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E6B #6B6B2E
analogous
#2E4C6B #2E2E6B #4C2E6B
triadic
#2E2E6B #6B2E2E #2E6B2E
tetradic
#2E2E6B #6B2E4D #6B6B2E #2E6B4D
square
#2E2E6B #6B2E4D #6B6B2E #2E6B4D
split-complementary
#2E2E6B #6B4D2E #4D6B2E
monochromatic
#090915 #1C1C40 #2E2E6B #404096 #5B5BB8

Accessibility & contrast

On white

12.21
#2E2E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E2E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E6B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E6B#FFFFFF#000000##FFFFFF
##2E2E6B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09386D
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#123C47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2e6b;
/* rgb */ color: rgb(46, 46, 107);
/* oklch */ color: oklch(33.8% 0.104 279.3);
Tailwind
colors: {
  custom: {
    50: '#6c6696',
    500: '#2e2e6b',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e6b;
$custom-light: #6c6696;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e6b",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 240,
    "s": 39.869,
    "l": 30
  },
  "oklch": {
    "l": 0.33774,
    "c": 0.10366,
    "h": 279.3
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#2E2E6B
secondary
#9D9D58
accent
#D058D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E2E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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