#2E2E90#2E2E90

#2E2E90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.157 H 275.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2E2E90
RGBrgb(46, 46, 144)
HSLhsl(240, 52%, 37%)
HSVhsv(240, 68%, 56%)
CMYKcmyk(68.1%, 68.1%, 0%, 43.5%)
CIE-LABlab(25.41, 32.46, -54.08)
CIE-LCHlch(25.41, 63.07, 300.97°)
OKLaboklab(37.04% 0.0152 -0.1561)
OKLCHoklch(37.04% 0.157 275.6)
XYZxyz(7.1361, 4.5478, 26.8819)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E90 #90902E
analogous
#2E5F90 #2E2E90 #5F2E90
triadic
#2E2E90 #902E2E #2E902E
tetradic
#2E2E90 #902E5F #90902E #2E905F
square
#2E2E90 #902E5F #90902E #2E905F
split-complementary
#2E2E90 #905F2E #5F902E
monochromatic
#101033 #1F1F62 #2E2E90 #3D3DBE #6969CF

Accessibility & contrast

On white

11.00
#2E2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E90
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E90#FFFFFF#000000##FFFFFF
##2E2E901.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2e90;
/* rgb */ color: rgb(46, 46, 144);
/* oklch */ color: oklch(37.0% 0.157 275.6);
Tailwind
colors: {
  custom: {
    50: '#7467b1',
    500: '#2e2e90',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e90;
$custom-light: #7467b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e90",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3704,
    "c": 0.15683,
    "h": 275.6
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#2E2E90
secondary
#B6B664
accent
#DB4DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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