#2E246C#2E246C

#2E246C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.9% C 0.120 H 283.6°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#2E246C
RGBrgb(46, 36, 108)
HSLhsl(248, 50%, 28%)
HSVhsv(248, 67%, 42%)
CMYKcmyk(57.4%, 66.7%, 0%, 57.6%)
CIE-LABlab(19.74, 26.34, -40.54)
CIE-LCHlch(19.74, 48.35, 303.01°)
OKLaboklab(31.92% 0.0282 -0.1164)
OKLCHoklch(31.92% 0.12 283.6)
XYZxyz(4.4635, 2.9250, 14.5138)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E246C #626C24
analogous
#243E6C #2E246C #52246C
triadic
#2E246C #6C2E24 #246C2E
tetradic
#2E246C #6C243E #626C24 #246C52
square
#2E246C #6C243E #626C24 #246C52
split-complementary
#2E246C #6C5224 #3E6C24
monochromatic
#0A0817 #1A153E #2E246C #42339A #5948C2

Accessibility & contrast

On white

13.25
#2E246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E246C
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E246C#FFFFFF#000000##FFFFFF
##2E246C1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#123644
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e246c;
/* rgb */ color: rgb(46, 36, 108);
/* oklch */ color: oklch(31.9% 0.120 283.6);
Tailwind
colors: {
  custom: {
    50: '#6e5f97',
    500: '#2e246c',
    950: '#000000',
  },
}
SCSS
$custom: #2e246c;
$custom-light: #6e5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2e246c",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 248.333,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31919,
    "c": 0.11977,
    "h": 283.6
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#2E246C
secondary
#949F4D
accent
#DA4EC6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #2E246C

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

Preview Lab → · Contrast checker → · Palette generator →

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