#2E246B#2E246B

#2E246B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.8% C 0.118 H 283.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#2E246B
RGBrgb(46, 36, 107)
HSLhsl(248, 50%, 28%)
HSVhsv(248, 66%, 42%)
CMYKcmyk(57%, 66.4%, 0%, 58%)
CIE-LABlab(19.65, 25.99, -40.03)
CIE-LCHlch(19.65, 47.73, 302.99°)
OKLaboklab(31.83% 0.0283 -0.1149)
OKLCHoklch(31.83% 0.118 283.8)
XYZxyz(4.4106, 2.9039, 14.2352)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E246B #616B24
analogous
#243D6B #2E246B #51246B
triadic
#2E246B #6B2E24 #246B2E
tetradic
#2E246B #6B243D #616B24 #246B51
square
#2E246B #6B243D #616B24 #246B51
split-complementary
#2E246B #6B5124 #3D6B24
monochromatic
#0A0817 #1A153D #2E246B #423399 #5948C1

Accessibility & contrast

On white

13.28
#2E246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E246B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E246B#FFFFFF#000000##FFFFFF
##2E246B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#133544
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e246b;
/* rgb */ color: rgb(46, 36, 107);
/* oklch */ color: oklch(31.8% 0.118 283.8);
Tailwind
colors: {
  custom: {
    50: '#6d5f96',
    500: '#2e246b',
    950: '#000000',
  },
}
SCSS
$custom: #2e246b;
$custom-light: #6d5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2e246b",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 248.451,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31829,
    "c": 0.11833,
    "h": 283.8
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#2E246B
secondary
#939E4D
accent
#D94FC6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2E246B

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

Preview Lab → · Contrast checker → · Palette generator →

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