#2E2A90#2E2A90

#2E2A90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.162 H 276.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2E2A90
RGBrgb(46, 42, 144)
HSLhsl(242, 55%, 36%)
HSVhsv(242, 71%, 56%)
CMYKcmyk(68.1%, 70.8%, 0%, 43.5%)
CIE-LABlab(24.48, 34.97, -55.60)
CIE-LCHlch(24.48, 65.68, 302.17°)
OKLaboklab(36.37% 0.0182 -0.1605)
OKLCHoklch(36.37% 0.162 276.5)
XYZxyz(6.9871, 4.2498, 26.8322)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A90 #8C902A
analogous
#2A5990 #2E2A90 #612A90
triadic
#2E2A90 #902E2A #2A902E
tetradic
#2E2A90 #902A59 #8C902A #2A9061
square
#2E2A90 #902A59 #8C902A #2A9061
split-complementary
#2E2A90 #90612A #59902A
monochromatic
#100E31 #1F1C61 #2E2A90 #3D38BF #6763D1

Accessibility & contrast

On white

11.35
#2E2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A90
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A90#FFFFFF#000000##FFFFFF
##2E2A901.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2a90;
/* rgb */ color: rgb(46, 42, 144);
/* oklch */ color: oklch(36.4% 0.162 276.5);
Tailwind
colors: {
  custom: {
    50: '#7464b2',
    500: '#2e2a90',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a90;
$custom-light: #7464b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a90",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 242.353,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36372,
    "c": 0.16156,
    "h": 276.5
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#2E2A90
secondary
#B4B75E
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2E2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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