#2E297C#2E297C

#2E297C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.136 H 279.2°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2E297C
RGBrgb(46, 41, 124)
HSLhsl(244, 50%, 32%)
HSVhsv(244, 67%, 49%)
CMYKcmyk(62.9%, 66.9%, 0%, 51.4%)
CIE-LABlab(22.38, 28.63, -46.51)
CIE-LCHlch(22.38, 54.62, 301.62°)
OKLaboklab(34.28% 0.0216 -0.1339)
OKLCHoklch(34.28% 0.136 279.2)
XYZxyz(5.5566, 3.6215, 19.4711)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E297C #777C29
analogous
#294E7C #2E297C #57297C
triadic
#2E297C #7C2E29 #297C2E
tetradic
#2E297C #7C294E #777C29 #297C57
square
#2E297C #7C294E #777C29 #297C57
split-complementary
#2E297C #7C5729 #4E7C29
monochromatic
#0C0B20 #1D1A4E #2E297C #3F38AA #5E58C8

Accessibility & contrast

On white

12.18
#2E297C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E297C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E297C
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E297C#FFFFFF#000000##FFFFFF
##2E297C1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e297c;
/* rgb */ color: rgb(46, 41, 124);
/* oklch */ color: oklch(34.3% 0.136 279.2);
Tailwind
colors: {
  custom: {
    50: '#7063a3',
    500: '#2e297c',
    950: '#000000',
  },
}
SCSS
$custom: #2e297c;
$custom-light: #7063a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e297c",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 243.614,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34279,
    "c": 0.13564,
    "h": 279.2
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#2E297C
secondary
#A8AD54
accent
#DA4ED1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2E297C

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

Preview Lab → · Contrast checker → · Palette generator →

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