#2E2AA8#2E2AA8

#2E2AA8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.192 H 274.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2E2AA8
RGBrgb(46, 42, 168)
HSLhsl(242, 60%, 41%)
HSVhsv(242, 75%, 66%)
CMYKcmyk(72.6%, 75%, 0%, 34.1%)
CIE-LABlab(26.91, 43.10, -66.25)
CIE-LCHlch(26.91, 79.04, 303.04°)
OKLaboklab(38.84% 0.0139 -0.1916)
OKLCHoklch(38.84% 0.192 274.2)
XYZxyz(9.0202, 5.0630, 37.5401)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2AA8 #A4A82A
analogous
#2A65A8 #2E2AA8 #6D2AA8
triadic
#2E2AA8 #A82E2A #2AA82E
tetradic
#2E2AA8 #A82A65 #A4A82A #2AA86D
square
#2E2AA8 #A82A65 #A4A82A #2AA86D
split-complementary
#2E2AA8 #A86D2A #65A82A
monochromatic
#131246 #211E77 #2E2AA8 #4540CF #7471DB

Accessibility & contrast

On white

10.43
#2E2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E2AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2AA8
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2AA8#FFFFFF#000000##FFFFFF
##2E2AA81.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e2aa8;
/* rgb */ color: rgb(46, 42, 168);
/* oklch */ color: oklch(38.8% 0.192 274.2);
Tailwind
colors: {
  custom: {
    50: '#7a65c3',
    500: '#2e2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2e2aa8;
$custom-light: #7a65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2aa8",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 241.905,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38841,
    "c": 0.19213,
    "h": 274.2
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#2E2AA8
secondary
#C0C36B
accent
#E345DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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