#2E246D#2E246D

#2E246D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.121 H 283.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#2E246D
RGBrgb(46, 36, 109)
HSLhsl(248, 50%, 28%)
HSVhsv(248, 67%, 43%)
CMYKcmyk(57.8%, 67%, 0%, 57.3%)
CIE-LABlab(19.83, 26.68, -41.05)
CIE-LCHlch(19.83, 48.96, 303.02°)
OKLaboklab(32.01% 0.0281 -0.1179)
OKLCHoklch(32.01% 0.121 283.4)
XYZxyz(4.5171, 2.9465, 14.7957)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E246D #636D24
analogous
#243E6D #2E246D #52246D
triadic
#2E246D #6D2E24 #246D2E
tetradic
#2E246D #6D243E #636D24 #246D52
square
#2E246D #6D243E #636D24 #246D52
split-complementary
#2E246D #6D5224 #3E6D24
monochromatic
#0A0817 #1B153F #2E246D #41339B #5949C3

Accessibility & contrast

On white

13.21
#2E246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2E246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E246D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E246D#FFFFFF#000000##FFFFFF
##2E246D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#113645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e246d;
/* rgb */ color: rgb(46, 36, 109);
/* oklch */ color: oklch(32.0% 0.121 283.4);
Tailwind
colors: {
  custom: {
    50: '#6e5f97',
    500: '#2e246d',
    950: '#000000',
  },
}
SCSS
$custom: #2e246d;
$custom-light: #6e5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2e246d",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 248.219,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3201,
    "c": 0.1212,
    "h": 283.4
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#2E246D
secondary
#95A04D
accent
#DA4EC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2E246D

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

Preview Lab → · Contrast checker → · Palette generator →

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