#2E2963#2E2963

#2E2963 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.099 H 283.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2E2963
RGBrgb(46, 41, 99)
HSLhsl(245, 41%, 27%)
HSVhsv(245, 59%, 39%)
CMYKcmyk(53.5%, 58.6%, 0%, 61.2%)
CIE-LABlab(20.31, 19.85, -33.74)
CIE-LCHlch(20.31, 39.15, 300.46°)
OKLaboklab(32.11% 0.0226 -0.0964)
OKLCHoklch(32.11% 0.099 283.2)
XYZxyz(4.1711, 3.0674, 12.1742)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2963 #5E6329
analogous
#294163 #2E2963 #4B2963
triadic
#2E2963 #632E29 #29632E
tetradic
#2E2963 #632941 #5E6329 #29634B
square
#2E2963 #632941 #5E6329 #29634B
split-complementary
#2E2963 #634B29 #416329
monochromatic
#0A0916 #1A1738 #2E2963 #423B8E #5950B6

Accessibility & contrast

On white

13.01
#2E2963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2963
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2963#FFFFFF#000000##FFFFFF
##2E29631.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063365
Deuteranopia (green-blind)
#022F62
Tritanopia (blue-blind)
#1A3641
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2963;
/* rgb */ color: rgb(46, 41, 99);
/* oklch */ color: oklch(32.1% 0.099 283.2);
Tailwind
colors: {
  custom: {
    50: '#6b6390',
    500: '#2e2963',
    950: '#000000',
  },
}
SCSS
$custom: #2e2963;
$custom-light: #6b6390;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2963",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 99
  },
  "hsl": {
    "h": 245.172,
    "s": 41.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32109,
    "c": 0.099,
    "h": 283.2
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#2E2963
secondary
#909652
accent
#D157C7
background
#F6F5F8
surface
#ECEAF0
border
#C7C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E2963

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

Preview Lab → · Contrast checker → · Palette generator →

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