#2E247A#2E247A

#2E247A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.139 H 280.9°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2E247A
RGBrgb(46, 36, 122)
HSLhsl(247, 54%, 31%)
HSVhsv(247, 70%, 48%)
CMYKcmyk(62.3%, 70.5%, 0%, 52.2%)
CIE-LABlab(21.01, 31.13, -47.48)
CIE-LCHlch(21.01, 56.77, 303.25°)
OKLaboklab(33.23% 0.0264 -0.1368)
OKLCHoklch(33.23% 0.139 280.9)
XYZxyz(5.2693, 3.2474, 18.7577)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E247A #707A24
analogous
#24457A #2E247A #59247A
triadic
#2E247A #7A2E24 #247A2E
tetradic
#2E247A #7A2445 #707A24 #247A59
square
#2E247A #7A2445 #707A24 #247A59
split-complementary
#2E247A #7A5924 #457A24
monochromatic
#0A081B #1C164B #2E247A #4032A9 #5C4ECB

Accessibility & contrast

On white

12.73
#2E247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2E247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E247A
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E247A#FFFFFF#000000##FFFFFF
##2E247A1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e247a;
/* rgb */ color: rgb(46, 36, 122);
/* oklch */ color: oklch(33.2% 0.139 280.9);
Tailwind
colors: {
  custom: {
    50: '#7060a1',
    500: '#2e247a',
    950: '#000000',
  },
}
SCSS
$custom: #2e247a;
$custom-light: #7060a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e247a",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 246.977,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3323,
    "c": 0.13928,
    "h": 280.9
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#2E247A
secondary
#A1AC4D
accent
#DE4ACD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2E247A

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

Preview Lab → · Contrast checker → · Palette generator →

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