#2E294B#2E294B

#2E294B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.060 H 289.0°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2E294B
RGBrgb(46, 41, 75)
HSLhsl(249, 29%, 23%)
HSVhsv(249, 45%, 29%)
CMYKcmyk(38.7%, 45.3%, 0%, 70.6%)
CIE-LABlab(18.69, 11.74, -20.32)
CIE-LCHlch(18.69, 23.47, 300.02°)
OKLaboklab(30.37% 0.0197 -0.057)
OKLCHoklch(30.37% 0.06 289)
XYZxyz(3.1893, 2.6746, 7.0035)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E294B #464B29
analogous
#29354B #2E294B #3F294B
triadic
#2E294B #4B2E29 #294B2E
tetradic
#2E294B #4B2935 #464B29 #294B3F
square
#2E294B #4B2935 #464B29 #294B3F
split-complementary
#2E294B #4B3F29 #354B29
monochromatic
#0C0B14 #161323 #2E294B #463F73 #5F549A

Accessibility & contrast

On white

13.68
#2E294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E294B
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E294B#FFFFFF#000000##FFFFFF
##2E294B1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4C
Deuteranopia (green-blind)
#1E2D4A
Tritanopia (blue-blind)
#272F36
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e294b;
/* rgb */ color: rgb(46, 41, 75);
/* oklch */ color: oklch(30.4% 0.060 289.0);
Tailwind
colors: {
  custom: {
    50: '#68627d',
    500: '#2e294b',
    950: '#000000',
  },
}
SCSS
$custom: #2e294b;
$custom-light: #68627d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e294b",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 248.824,
    "s": 29.31,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30367,
    "c": 0.06035,
    "h": 289
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#2E294B
secondary
#777D53
accent
#C662B7
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#060509
muted
#7A797B

Preview Lab

Preview with #2E294B

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

Preview Lab → · Contrast checker → · Palette generator →

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