#2E247E#2E247E

#2E247E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.145 H 280.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#2E247E
RGBrgb(46, 36, 126)
HSLhsl(247, 56%, 32%)
HSVhsv(247, 71%, 49%)
CMYKcmyk(63.5%, 71.4%, 0%, 50.6%)
CIE-LABlab(21.39, 32.50, -49.40)
CIE-LCHlch(21.39, 59.13, 303.34°)
OKLaboklab(33.62% 0.0257 -0.1424)
OKLCHoklch(33.62% 0.145 280.2)
XYZxyz(5.5223, 3.3485, 20.0899)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E247E #747E24
analogous
#24477E #2E247E #5B247E
triadic
#2E247E #7E2E24 #247E2E
tetradic
#2E247E #7E2447 #747E24 #247E5B
square
#2E247E #7E2447 #747E24 #247E5B
split-complementary
#2E247E #7E5B24 #477E24
monochromatic
#0B091F #1D164E #2E247E #3F32AE #5D50CD

Accessibility & contrast

On white

12.58
#2E247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E247E
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E247E#FFFFFF#000000##FFFFFF
##2E247E1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e247e;
/* rgb */ color: rgb(46, 36, 126);
/* oklch */ color: oklch(33.6% 0.145 280.2);
Tailwind
colors: {
  custom: {
    50: '#7160a4',
    500: '#2e247e',
    950: '#000000',
  },
}
SCSS
$custom: #2e247e;
$custom-light: #7160a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e247e",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 246.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3362,
    "c": 0.14469,
    "h": 280.2
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E247E

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

Preview Lab → · Contrast checker → · Palette generator →

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