#2E298A#2E298A

#2E298A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.155 H 277.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2E298A
RGBrgb(46, 41, 138)
HSLhsl(243, 54%, 35%)
HSVhsv(243, 70%, 54%)
CMYKcmyk(66.7%, 70.3%, 0%, 45.9%)
CIE-LABlab(23.68, 33.51, -53.19)
CIE-LCHlch(23.68, 62.87, 302.21°)
OKLaboklab(35.62% 0.0198 -0.1535)
OKLCHoklch(35.62% 0.155 277.4)
XYZxyz(6.5056, 4.0012, 24.4693)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E298A #858A29
analogous
#29548A #2E298A #5F298A
triadic
#2E298A #8A2E29 #298A2E
tetradic
#2E298A #8A2954 #858A29 #298A5F
square
#2E298A #8A2954 #858A29 #298A5F
split-complementary
#2E298A #8A5F29 #548A29
monochromatic
#0F0D2C #1E1B5B #2E298A #3E37B9 #645ECF

Accessibility & contrast

On white

11.66
#2E298A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E298A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E298A
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E298A#FFFFFF#000000##FFFFFF
##2E298A1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e298a;
/* rgb */ color: rgb(46, 41, 138);
/* oklch */ color: oklch(35.6% 0.155 277.4);
Tailwind
colors: {
  custom: {
    50: '#7363ad',
    500: '#2e298a',
    950: '#000000',
  },
}
SCSS
$custom: #2e298a;
$custom-light: #7363ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e298a",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 243.093,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35616,
    "c": 0.15476,
    "h": 277.4
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#2E298A
secondary
#B0B55A
accent
#DE4AD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E298A

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

Preview Lab → · Contrast checker → · Palette generator →

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