#2E247F#2E247F

#2E247F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.146 H 280.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#2E247F
RGBrgb(46, 36, 127)
HSLhsl(247, 56%, 32%)
HSVhsv(247, 72%, 50%)
CMYKcmyk(63.8%, 71.7%, 0%, 50.2%)
CIE-LABlab(21.49, 32.84, -49.87)
CIE-LCHlch(21.49, 59.71, 303.36°)
OKLaboklab(33.72% 0.0256 -0.1438)
OKLCHoklch(33.72% 0.146 280.1)
XYZxyz(5.5871, 3.3745, 20.4315)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E247F #757F24
analogous
#24487F #2E247F #5B247F
triadic
#2E247F #7F2E24 #247F2E
tetradic
#2E247F #7F2448 #757F24 #247F5B
square
#2E247F #7F2448 #757F24 #247F5B
split-complementary
#2E247F #7F5B24 #487F24
monochromatic
#0B0920 #1D164F #2E247F #3F32AF #5E50CD

Accessibility & contrast

On white

12.54
#2E247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E247F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E247F#FFFFFF#000000##FFFFFF
##2E247F1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e247f;
/* rgb */ color: rgb(46, 36, 127);
/* oklch */ color: oklch(33.7% 0.146 280.1);
Tailwind
colors: {
  custom: {
    50: '#7160a5',
    500: '#2e247f',
    950: '#000000',
  },
}
SCSS
$custom: #2e247f;
$custom-light: #7160a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e247f",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 246.593,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33719,
    "c": 0.14602,
    "h": 280.1
  },
  "luminance": 0.03375
}

Semantic roles & 50–950 ramp

primary
#2E247F
secondary
#A6B14E
accent
#DF49CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #2E247F

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

Preview Lab → · Contrast checker → · Palette generator →

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