#2D294E#2D294E

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

Color values

HEX#2D294E
RGBrgb(45, 41, 78)
HSLhsl(246, 31%, 23%)
HSVhsv(246, 47%, 31%)
CMYKcmyk(42.3%, 47.4%, 0%, 69.4%)
CIE-LABlab(18.77, 12.40, -22.23)
CIE-LCHlch(18.77, 25.46, 299.16°)
OKLaboklab(30.46% 0.0189 -0.0626)
OKLCHoklch(30.46% 0.065 286.8)
XYZxyz(3.2499, 2.6937, 7.5550)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D294E #4A4E29
analogous
#29374E #2D294E #3F294E
triadic
#2D294E #4E2D29 #294E2D
tetradic
#2D294E #4E2937 #4A4E29 #294E3F
square
#2D294E #4E2937 #4A4E29 #294E3F
split-complementary
#2D294E #4E3F29 #374E29
monochromatic
#0C0B14 #161426 #2D294E #443E76 #5B539E

Accessibility & contrast

On white

13.65
#2D294E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D294E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D294E#FFFFFF#000000##FFFFFF
##2D294E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F4F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#243037
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d294e;
/* rgb */ color: rgb(45, 41, 78);
/* oklch */ color: oklch(30.5% 0.065 286.8);
Tailwind
colors: {
  custom: {
    50: '#686280',
    500: '#2d294e',
    950: '#000000',
  },
}
SCSS
$custom: #2d294e;
$custom-light: #686280;
$custom-dark: #000000;
JSON
{
  "hex": "#2d294e",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 246.486,
    "s": 31.092,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30465,
    "c": 0.06543,
    "h": 286.8
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#2D294E
secondary
#7B8052
accent
#C761BC
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2D294E

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

Preview Lab → · Contrast checker → · Palette generator →

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