#2E246E#2E246E

#2E246E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.123 H 283.2°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#2E246E
RGBrgb(46, 36, 110)
HSLhsl(248, 51%, 29%)
HSVhsv(248, 67%, 43%)
CMYKcmyk(58.2%, 67.3%, 0%, 56.9%)
CIE-LABlab(19.92, 27.02, -41.56)
CIE-LCHlch(19.92, 49.57, 303.03°)
OKLaboklab(32.1% 0.028 -0.1194)
OKLCHoklch(32.1% 0.123 283.2)
XYZxyz(4.5712, 2.9681, 15.0809)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E246E #646E24
analogous
#243F6E #2E246E #53246E
triadic
#2E246E #6E2E24 #246E2E
tetradic
#2E246E #6E243F #646E24 #246E53
square
#2E246E #6E243F #646E24 #246E53
split-complementary
#2E246E #6E5324 #3F6E24
monochromatic
#0A0817 #1B1540 #2E246E #41339C #5A49C3

Accessibility & contrast

On white

13.18
#2E246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E246E
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E246E#FFFFFF#000000##FFFFFF
##2E246E1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#103645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e246e;
/* rgb */ color: rgb(46, 36, 110);
/* oklch */ color: oklch(32.1% 0.123 283.2);
Tailwind
colors: {
  custom: {
    50: '#6e5f98',
    500: '#2e246e',
    950: '#000000',
  },
}
SCSS
$custom: #2e246e;
$custom-light: #6e5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2e246e",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 248.108,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32101,
    "c": 0.12261,
    "h": 283.2
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#2E246E
secondary
#96A14D
accent
#DA4EC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2E246E

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

Preview Lab → · Contrast checker → · Palette generator →

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