#2E299A#2E299A

#2E299A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.176 H 275.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2E299A
RGBrgb(46, 41, 154)
HSLhsl(243, 58%, 38%)
HSVhsv(243, 73%, 60%)
CMYKcmyk(70.1%, 73.4%, 0%, 39.6%)
CIE-LABlab(25.26, 38.99, -60.48)
CIE-LCHlch(25.26, 71.95, 302.81°)
OKLaboklab(37.23% 0.0171 -0.1748)
OKLCHoklch(37.23% 0.176 275.6)
XYZxyz(7.7505, 4.4991, 31.0255)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E299A #959A29
analogous
#295C9A #2E299A #66299A
triadic
#2E299A #9A2E29 #299A2E
tetradic
#2E299A #9A295C #959A29 #299A66
square
#2E299A #9A295C #959A29 #299A66
split-complementary
#2E299A #9A6629 #5C9A29
monochromatic
#110F39 #201C6A #2E299A #3D37CA #6C67D7

Accessibility & contrast

On white

11.05
#2E299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E299A
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E299A#FFFFFF#000000##FFFFFF
##2E299A1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e299a;
/* rgb */ color: rgb(46, 41, 154);
/* oklch */ color: oklch(37.2% 0.176 275.6);
Tailwind
colors: {
  custom: {
    50: '#7764b9',
    500: '#2e299a',
    950: '#000000',
  },
}
SCSS
$custom: #2e299a;
$custom-light: #7764b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e299a",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 242.655,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37229,
    "c": 0.17562,
    "h": 275.6
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#2E299A
secondary
#B9BD62
accent
#E147DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E299A

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

Preview Lab → · Contrast checker → · Palette generator →

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