#2E246F#2E246F

#2E246F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.124 H 283.0°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#2E246F
RGBrgb(46, 36, 111)
HSLhsl(248, 51%, 29%)
HSVhsv(248, 68%, 44%)
CMYKcmyk(58.6%, 67.6%, 0%, 56.5%)
CIE-LABlab(20.00, 27.37, -42.06)
CIE-LCHlch(20.00, 50.18, 303.05°)
OKLaboklab(32.19% 0.0279 -0.1209)
OKLCHoklch(32.19% 0.124 283)
XYZxyz(4.6260, 2.9900, 15.3692)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E246F #656F24
analogous
#24406F #2E246F #54246F
triadic
#2E246F #6F2E24 #246F2E
tetradic
#2E246F #6F2440 #656F24 #246F54
square
#2E246F #6F2440 #656F24 #246F54
split-complementary
#2E246F #6F5424 #406F24
monochromatic
#0A0717 #1B1541 #2E246F #41339D #5A49C4

Accessibility & contrast

On white

13.14
#2E246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E246F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E246F#FFFFFF#000000##FFFFFF
##2E246F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#0E3746
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e246f;
/* rgb */ color: rgb(46, 36, 111);
/* oklch */ color: oklch(32.2% 0.124 283.0);
Tailwind
colors: {
  custom: {
    50: '#6e5f99',
    500: '#2e246f',
    950: '#000000',
  },
}
SCSS
$custom: #2e246f;
$custom-light: #6e5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e246f",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 248,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32193,
    "c": 0.12403,
    "h": 283
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#2E246F
secondary
#97A24D
accent
#DA4DC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2E246F

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

Preview Lab → · Contrast checker → · Palette generator →

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