#2E294D#2E294D

#2E294D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.064 H 288.4°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#2E294D
RGBrgb(46, 41, 77)
HSLhsl(248, 31%, 23%)
HSVhsv(248, 47%, 30%)
CMYKcmyk(40.3%, 46.8%, 0%, 69.8%)
CIE-LABlab(18.81, 12.39, -21.49)
CIE-LCHlch(18.81, 24.80, 299.97°)
OKLaboklab(30.5% 0.0201 -0.0604)
OKLCHoklch(30.5% 0.064 288.4)
XYZxyz(3.2588, 2.7024, 7.3697)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E294D #484D29
analogous
#29364D #2E294D #40294D
triadic
#2E294D #4D2E29 #294D2E
tetradic
#2E294D #4D2936 #484D29 #294D40
square
#2E294D #4D2936 #484D29 #294D40
split-complementary
#2E294D #4D4029 #364D29
monochromatic
#0C0B14 #161425 #2E294D #463E75 #5E549D

Accessibility & contrast

On white

13.63
#2E294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2E294D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E294D
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E294D#FFFFFF#000000##FFFFFF
##2E294D1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4E
Deuteranopia (green-blind)
#1D2D4C
Tritanopia (blue-blind)
#263037
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e294d;
/* rgb */ color: rgb(46, 41, 77);
/* oklch */ color: oklch(30.5% 0.064 288.4);
Tailwind
colors: {
  custom: {
    50: '#68627f',
    500: '#2e294d',
    950: '#000000',
  },
}
SCSS
$custom: #2e294d;
$custom-light: #68627f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e294d",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 248.333,
    "s": 30.508,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.0637,
    "h": 288.4
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#2E294D
secondary
#797F52
accent
#C761B9
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2E294D

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

Preview Lab → · Contrast checker → · Palette generator →

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