#2E2EAB#2E2EAB

#2E2EAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.192 H 273.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2E2EAB
RGBrgb(46, 46, 171)
HSLhsl(240, 58%, 43%)
HSVhsv(240, 73%, 67%)
CMYKcmyk(73.1%, 73.1%, 0%, 32.9%)
CIE-LABlab(28.05, 41.80, -66.19)
CIE-LCHlch(28.05, 78.28, 302.27°)
OKLaboklab(39.74% 0.0113 -0.1915)
OKLCHoklch(39.74% 0.192 273.4)
XYZxyz(9.4519, 5.4742, 39.0787)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EAB #ABAB2E
analogous
#2E6CAB #2E2EAB #6C2EAB
triadic
#2E2EAB #AB2E2E #2EAB2E
tetradic
#2E2EAB #AB2E6C #ABAB2E #2EAB6C
square
#2E2EAB #AB2E6C #ABAB2E #2EAB6C
split-complementary
#2E2EAB #AB6C2E #6CAB2E
monochromatic
#14144B #21217B #2E2EAB #4848CE #7979DB

Accessibility & contrast

On white

10.02
#2E2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2EAB
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EAB#FFFFFF#000000##FFFFFF
##2E2EAB1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2eab;
/* rgb */ color: rgb(46, 46, 171);
/* oklch */ color: oklch(39.7% 0.192 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a68c5',
    500: '#2e2eab',
    950: '#000000',
  },
}
SCSS
$custom: #2e2eab;
$custom-light: #7a68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2eab",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 240,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39738,
    "c": 0.19181,
    "h": 273.4
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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