#2E2E7C#2E2E7C

#2E2E7C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.129 H 277.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2E2E7C
RGBrgb(46, 46, 124)
HSLhsl(240, 46%, 33%)
HSVhsv(240, 63%, 49%)
CMYKcmyk(62.9%, 62.9%, 0%, 51.4%)
CIE-LABlab(23.64, 25.33, -44.46)
CIE-LCHlch(23.64, 51.16, 299.67°)
OKLaboklab(35.2% 0.0168 -0.1279)
OKLCHoklch(35.2% 0.129 277.5)
XYZxyz(5.7406, 3.9896, 19.5324)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E7C #7C7C2E
analogous
#2E557C #2E2E7C #552E7C
triadic
#2E2E7C #7C2E2E #2E7C2E
tetradic
#2E2E7C #7C2E55 #7C7C2E #2E7C55
square
#2E2E7C #7C2E55 #7C7C2E #2E7C55
split-complementary
#2E2E7C #7C552E #557C2E
monochromatic
#0D0D23 #1D1D4F #2E2E7C #3F3FA9 #6060C4

Accessibility & contrast

On white

11.68
#2E2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E2E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E7C
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E7C#FFFFFF#000000##FFFFFF
##2E2E7C1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2e7c;
/* rgb */ color: rgb(46, 46, 124);
/* oklch */ color: oklch(35.2% 0.129 277.5);
Tailwind
colors: {
  custom: {
    50: '#7067a3',
    500: '#2e2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e7c;
$custom-light: #7067a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e7c",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 240,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.352,
    "c": 0.12896,
    "h": 277.5
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#2E2E7C
secondary
#ABAB5B
accent
#D652D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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