#2E247D#2E247D

#2E247D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.143 H 280.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#2E247D
RGBrgb(46, 36, 125)
HSLhsl(247, 55%, 32%)
HSVhsv(247, 71%, 49%)
CMYKcmyk(63.2%, 71.2%, 0%, 51%)
CIE-LABlab(21.29, 32.16, -48.92)
CIE-LCHlch(21.29, 58.54, 303.32°)
OKLaboklab(33.52% 0.0259 -0.141)
OKLCHoklch(33.52% 0.143 280.4)
XYZxyz(5.4581, 3.3229, 19.7518)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E247D #737D24
analogous
#24477D #2E247D #5B247D
triadic
#2E247D #7D2E24 #247D2E
tetradic
#2E247D #7D2447 #737D24 #247D5B
square
#2E247D #7D2447 #737D24 #247D5B
split-complementary
#2E247D #7D5B24 #477D24
monochromatic
#0B091E #1D164D #2E247D #3F32AD #5D4FCC

Accessibility & contrast

On white

12.62
#2E247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E247D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E247D#FFFFFF#000000##FFFFFF
##2E247D1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e247d;
/* rgb */ color: rgb(46, 36, 125);
/* oklch */ color: oklch(33.5% 0.143 280.4);
Tailwind
colors: {
  custom: {
    50: '#7160a4',
    500: '#2e247d',
    950: '#000000',
  },
}
SCSS
$custom: #2e247d;
$custom-light: #7160a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e247d",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 246.742,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33522,
    "c": 0.14334,
    "h": 280.4
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#2E247D
secondary
#A4AF4D
accent
#DF49CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2E247D

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

Preview Lab → · Contrast checker → · Palette generator →

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