#2E297D#2E297D

#2E297D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.137 H 279.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#2E297D
RGBrgb(46, 41, 125)
HSLhsl(244, 51%, 33%)
HSVhsv(244, 67%, 49%)
CMYKcmyk(63.2%, 67.2%, 0%, 51%)
CIE-LABlab(22.47, 28.98, -47.00)
CIE-LCHlch(22.47, 55.21, 301.66°)
OKLaboklab(34.37% 0.0215 -0.1353)
OKLCHoklch(34.37% 0.137 279)
XYZxyz(5.6201, 3.6470, 19.8058)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E297D #787D29
analogous
#294E7D #2E297D #58297D
triadic
#2E297D #7D2E29 #297D2E
tetradic
#2E297D #7D294E #787D29 #297D58
square
#2E297D #7D294E #787D29 #297D58
split-complementary
#2E297D #7D5829 #4E7D29
monochromatic
#0C0B21 #1D1A4F #2E297D #3F38AB #5F58C8

Accessibility & contrast

On white

12.14
#2E297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E297D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E297D#FFFFFF#000000##FFFFFF
##2E297D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e297d;
/* rgb */ color: rgb(46, 41, 125);
/* oklch */ color: oklch(34.4% 0.137 279.0);
Tailwind
colors: {
  custom: {
    50: '#7063a3',
    500: '#2e297d',
    950: '#000000',
  },
}
SCSS
$custom: #2e297d;
$custom-light: #7063a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e297d",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 243.571,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34372,
    "c": 0.13703,
    "h": 279
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#2E297D
secondary
#A8AE54
accent
#DA4ED2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2E297D

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

Preview Lab → · Contrast checker → · Palette generator →

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