#2E294C#2E294C

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

Color values

HEX#2E294C
RGBrgb(46, 41, 76)
HSLhsl(249, 30%, 23%)
HSVhsv(249, 46%, 30%)
CMYKcmyk(39.5%, 46.1%, 0%, 70.2%)
CIE-LABlab(18.75, 12.07, -20.91)
CIE-LCHlch(18.75, 24.14, 299.99°)
OKLaboklab(30.43% 0.0199 -0.0587)
OKLCHoklch(30.43% 0.062 288.7)
XYZxyz(3.2238, 2.6884, 7.1851)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E294C #474C29
analogous
#29354C #2E294C #3F294C
triadic
#2E294C #4C2E29 #294C2E
tetradic
#2E294C #4C2935 #474C29 #294C3F
square
#2E294C #4C2935 #474C29 #294C3F
split-complementary
#2E294C #4C3F29 #354C29
monochromatic
#0C0B14 #161424 #2E294C #463E74 #5E549C

Accessibility & contrast

On white

13.66
#2E294C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E294C
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E294C#FFFFFF#000000##FFFFFF
##2E294C1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4D
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#263036
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e294c;
/* rgb */ color: rgb(46, 41, 76);
/* oklch */ color: oklch(30.4% 0.062 288.7);
Tailwind
colors: {
  custom: {
    50: '#68627e',
    500: '#2e294c',
    950: '#000000',
  },
}
SCSS
$custom: #2e294c;
$custom-light: #68627e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e294c",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 248.571,
    "s": 29.915,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30432,
    "c": 0.06203,
    "h": 288.7
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#2E294C
secondary
#787E53
accent
#C662B8
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2E294C

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

Preview Lab → · Contrast checker → · Palette generator →

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