#2E298C#2E298C

#2E298C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.157 H 277.1°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#2E298C
RGBrgb(46, 41, 140)
HSLhsl(243, 55%, 35%)
HSVhsv(243, 71%, 55%)
CMYKcmyk(67.1%, 70.7%, 0%, 45.1%)
CIE-LABlab(23.87, 34.21, -54.12)
CIE-LCHlch(23.87, 64.02, 302.29°)
OKLaboklab(35.81% 0.0195 -0.1562)
OKLCHoklch(35.81% 0.157 277.1)
XYZxyz(6.6517, 4.0596, 25.2389)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E298C #878C29
analogous
#29568C #2E298C #5F298C
triadic
#2E298C #8C2E29 #298C2E
tetradic
#2E298C #8C2956 #878C29 #298C5F
square
#2E298C #8C2956 #878C29 #298C5F
split-complementary
#2E298C #8C5F29 #568C29
monochromatic
#0F0D2D #1E1B5D #2E298C #3E37BB #655FD0

Accessibility & contrast

On white

11.59
#2E298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E298C
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E298C#FFFFFF#000000##FFFFFF
##2E298C1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e298c;
/* rgb */ color: rgb(46, 41, 140);
/* oklch */ color: oklch(35.8% 0.157 277.1);
Tailwind
colors: {
  custom: {
    50: '#7464af',
    500: '#2e298c',
    950: '#000000',
  },
}
SCSS
$custom: #2e298c;
$custom-light: #7464af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e298c",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 243.03,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35814,
    "c": 0.15743,
    "h": 277.1
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#2E298C
secondary
#B1B65B
accent
#DE4AD7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E298C

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

Preview Lab → · Contrast checker → · Palette generator →

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