#2E247C#2E247C

#2E247C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.142 H 280.6°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#2E247C
RGBrgb(46, 36, 124)
HSLhsl(247, 55%, 31%)
HSVhsv(247, 71%, 49%)
CMYKcmyk(62.9%, 71%, 0%, 51.4%)
CIE-LABlab(21.20, 31.82, -48.44)
CIE-LCHlch(21.20, 57.95, 303.30°)
OKLaboklab(33.42% 0.0261 -0.1396)
OKLCHoklch(33.42% 0.142 280.6)
XYZxyz(5.3945, 3.2974, 19.4171)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E247C #727C24
analogous
#24467C #2E247C #5A247C
triadic
#2E247C #7C2E24 #247C2E
tetradic
#2E247C #7C2446 #727C24 #247C5A
square
#2E247C #7C2446 #727C24 #247C5A
split-complementary
#2E247C #7C5A24 #467C24
monochromatic
#0B081D #1C164D #2E247C #4032AB #5D4FCC

Accessibility & contrast

On white

12.65
#2E247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E247C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E247C#FFFFFF#000000##FFFFFF
##2E247C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e247c;
/* rgb */ color: rgb(46, 36, 124);
/* oklch */ color: oklch(33.4% 0.142 280.6);
Tailwind
colors: {
  custom: {
    50: '#7160a3',
    500: '#2e247c',
    950: '#000000',
  },
}
SCSS
$custom: #2e247c;
$custom-light: #7160a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e247c",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 246.818,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33424,
    "c": 0.14199,
    "h": 280.6
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#2E247C
secondary
#A3AE4D
accent
#DE49CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2E247C

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

Preview Lab → · Contrast checker → · Palette generator →

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