#2E2769#2E2769

#2E2769 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.111 H 283.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#2E2769
RGBrgb(46, 39, 105)
HSLhsl(246, 46%, 28%)
HSVhsv(246, 63%, 41%)
CMYKcmyk(56.2%, 62.9%, 0%, 58.8%)
CIE-LABlab(20.25, 23.30, -37.77)
CIE-LCHlch(20.25, 44.38, 301.67°)
OKLaboklab(32.21% 0.025 -0.1082)
OKLCHoklch(32.21% 0.111 283)
XYZxyz(4.4013, 3.0516, 13.7190)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2769 #626927
analogous
#274169 #2E2769 #4F2769
triadic
#2E2769 #692E27 #27692E
tetradic
#2E2769 #692741 #626927 #27694F
square
#2E2769 #692741 #626927 #27694F
split-complementary
#2E2769 #694F27 #416927
monochromatic
#0A0816 #1A163C #2E2769 #423896 #594DBD

Accessibility & contrast

On white

13.04
#2E2769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2769
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2769#FFFFFF#000000##FFFFFF
##2E27691.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#153744
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2769;
/* rgb */ color: rgb(46, 39, 105);
/* oklch */ color: oklch(32.2% 0.111 283.0);
Tailwind
colors: {
  custom: {
    50: '#6d6194',
    500: '#2e2769',
    950: '#000000',
  },
}
SCSS
$custom: #2e2769;
$custom-light: #6d6194;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2769",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 105
  },
  "hsl": {
    "h": 246.364,
    "s": 45.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32212,
    "c": 0.11108,
    "h": 283
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#2E2769
secondary
#949C50
accent
#D552C8
background
#F6F5F9
surface
#ECEAF1
border
#C7C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E2769

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

Preview Lab → · Contrast checker → · Palette generator →

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