#2E2964#2E2964

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

Color values

HEX#2E2964
RGBrgb(46, 41, 100)
HSLhsl(245, 42%, 28%)
HSVhsv(245, 59%, 39%)
CMYKcmyk(54%, 59%, 0%, 60.8%)
CIE-LABlab(20.39, 20.20, -34.28)
CIE-LCHlch(20.39, 39.79, 300.51°)
OKLaboklab(32.19% 0.0226 -0.098)
OKLCHoklch(32.19% 0.101 283)
XYZxyz(4.2192, 3.0866, 12.4276)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2964 #5F6429
analogous
#294164 #2E2964 #4C2964
triadic
#2E2964 #642E29 #29642E
tetradic
#2E2964 #642941 #5F6429 #29644C
square
#2E2964 #642941 #5F6429 #29644C
split-complementary
#2E2964 #644C29 #416429
monochromatic
#0A0916 #1A1739 #2E2964 #423B8F #5950B7

Accessibility & contrast

On white

12.98
#2E2964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2E2964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2964
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2964#FFFFFF#000000##FFFFFF
##2E29641.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053366
Deuteranopia (green-blind)
#002F63
Tritanopia (blue-blind)
#193642
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2964;
/* rgb */ color: rgb(46, 41, 100);
/* oklch */ color: oklch(32.2% 0.101 283.0);
Tailwind
colors: {
  custom: {
    50: '#6c6391',
    500: '#2e2964',
    950: '#000000',
  },
}
SCSS
$custom: #2e2964;
$custom-light: #6c6391;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2964",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 245.085,
    "s": 41.844,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32189,
    "c": 0.10054,
    "h": 283
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#2E2964
secondary
#919652
accent
#D256C7
background
#F6F5F8
surface
#ECEAF0
border
#C7C6CB
text
#07050D
muted
#7A797D

Preview Lab

Preview with #2E2964

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

Preview Lab → · Contrast checker → · Palette generator →

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