#2E2E7A#2E2E7A

#2E2E7A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.126 H 277.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2E2E7A
RGBrgb(46, 46, 122)
HSLhsl(240, 45%, 33%)
HSVhsv(240, 62%, 48%)
CMYKcmyk(62.3%, 62.3%, 0%, 52.2%)
CIE-LABlab(23.47, 24.61, -43.46)
CIE-LCHlch(23.47, 49.94, 299.52°)
OKLaboklab(35.03% 0.0169 -0.1249)
OKLCHoklch(35.03% 0.126 277.7)
XYZxyz(5.6154, 3.9396, 18.8731)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E7A #7A7A2E
analogous
#2E547A #2E2E7A #542E7A
triadic
#2E2E7A #7A2E2E #2E7A2E
tetradic
#2E2E7A #7A2E54 #7A7A2E #2E7A54
square
#2E2E7A #7A2E54 #7A7A2E #2E7A54
split-complementary
#2E2E7A #7A542E #547A2E
monochromatic
#0C0C21 #1D1D4E #2E2E7A #3F3FA6 #6060C3

Accessibility & contrast

On white

11.74
#2E2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E2E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E7A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E7A#FFFFFF#000000##FFFFFF
##2E2E7A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2e7a;
/* rgb */ color: rgb(46, 46, 122);
/* oklch */ color: oklch(35.0% 0.126 277.7);
Tailwind
colors: {
  custom: {
    50: '#6f67a1',
    500: '#2e2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e7a;
$custom-light: #6f67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e7a",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35025,
    "c": 0.12606,
    "h": 277.7
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#2E2E7A
secondary
#AAAA5A
accent
#D553D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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