#2E2F95#2E2F95

#2E2F95 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.162 H 274.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2E2F95
RGBrgb(46, 47, 149)
HSLhsl(239, 53%, 38%)
HSVhsv(239, 69%, 58%)
CMYKcmyk(69.1%, 68.5%, 0%, 41.6%)
CIE-LABlab(26.11, 33.59, -56.01)
CIE-LCHlch(26.11, 65.31, 300.95°)
OKLaboklab(37.69% 0.0139 -0.1617)
OKLCHoklch(37.69% 0.162 274.9)
XYZxyz(7.5663, 4.7831, 28.9524)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F95 #95942E
analogous
#2E6395 #2E2F95 #602E95
triadic
#2E2F95 #952E2F #2F952E
tetradic
#2E2F95 #952E63 #95942E #2E9560
square
#2E2F95 #952E63 #95942E #2E9560
split-complementary
#2E2F95 #95602E #63952E
monochromatic
#111137 #202066 #2E2F95 #3D3EC3 #6C6DD2

Accessibility & contrast

On white

10.73
#2E2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E2F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F95
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F95#FFFFFF#000000##FFFFFF
##2E2F951.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2f95;
/* rgb */ color: rgb(46, 47, 149);
/* oklch */ color: oklch(37.7% 0.162 274.9);
Tailwind
colors: {
  custom: {
    50: '#7568b5',
    500: '#2e2f95',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f95;
$custom-light: #7568b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f95",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 239.417,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37692,
    "c": 0.16233,
    "h": 274.9
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#2E2F95
secondary
#B9B866
accent
#DB4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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