#2E2EAC#2E2EAC

#2E2EAC is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.193 H 273.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2E2EAC
RGBrgb(46, 46, 172)
HSLhsl(240, 58%, 43%)
HSVhsv(240, 73%, 67%)
CMYKcmyk(73.3%, 73.3%, 0%, 32.5%)
CIE-LABlab(28.15, 42.14, -66.62)
CIE-LCHlch(28.15, 78.83, 302.31°)
OKLaboklab(39.84% 0.0111 -0.1927)
OKLCHoklch(39.84% 0.193 273.3)
XYZxyz(9.5476, 5.5124, 39.5826)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EAC #ACAC2E
analogous
#2E6DAC #2E2EAC #6D2EAC
triadic
#2E2EAC #AC2E2E #2EAC2E
tetradic
#2E2EAC #AC2E6D #ACAC2E #2EAC6D
square
#2E2EAC #AC2E6D #ACAC2E #2EAC6D
split-complementary
#2E2EAC #AC6D2E #6DAC2E
monochromatic
#14144B #21217C #2E2EAC #4949CE #7979DB

Accessibility & contrast

On white

9.99
#2E2EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E2EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EAC
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EAC#FFFFFF#000000##FFFFFF
##2E2EAC1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e2eac;
/* rgb */ color: rgb(46, 46, 172);
/* oklch */ color: oklch(39.8% 0.193 273.3);
Tailwind
colors: {
  custom: {
    50: '#7b68c6',
    500: '#2e2eac',
    950: '#000000',
  },
}
SCSS
$custom: #2e2eac;
$custom-light: #7b68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2eac",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.19305,
    "h": 273.3
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#2E2EAC
secondary
#C3C372
accent
#E147E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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