#2E246A#2E246A

#2E246A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.7% C 0.117 H 284.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#2E246A
RGBrgb(46, 36, 106)
HSLhsl(249, 49%, 28%)
HSVhsv(249, 66%, 42%)
CMYKcmyk(56.6%, 66%, 0%, 58.4%)
CIE-LABlab(19.57, 25.65, -39.52)
CIE-LCHlch(19.57, 47.12, 302.98°)
OKLaboklab(31.74% 0.0284 -0.1134)
OKLCHoklch(31.74% 0.117 284)
XYZxyz(4.3583, 2.8830, 13.9597)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E246A #606A24
analogous
#243D6A #2E246A #51246A
triadic
#2E246A #6A2E24 #246A2E
tetradic
#2E246A #6A243D #606A24 #246A51
square
#2E246A #6A243D #606A24 #246A51
split-complementary
#2E246A #6A5124 #3D6A24
monochromatic
#0A0817 #1A143C #2E246A #423498 #5948C1

Accessibility & contrast

On white

13.32
#2E246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E246A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E246A#FFFFFF#000000##FFFFFF
##2E246A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#143543
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e246a;
/* rgb */ color: rgb(46, 36, 106);
/* oklch */ color: oklch(31.7% 0.117 284.0);
Tailwind
colors: {
  custom: {
    50: '#6d5f95',
    500: '#2e246a',
    950: '#000000',
  },
}
SCSS
$custom: #2e246a;
$custom-light: #6d5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2e246a",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 248.571,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3174,
    "c": 0.1169,
    "h": 284
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#2E246A
secondary
#929D4D
accent
#D94FC5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2E246A

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

Preview Lab → · Contrast checker → · Palette generator →

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