#2D294F#2D294F

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

Color values

HEX#2D294F
RGBrgb(45, 41, 79)
HSLhsl(246, 32%, 24%)
HSVhsv(246, 48%, 31%)
CMYKcmyk(43%, 48.1%, 0%, 69%)
CIE-LABlab(18.84, 12.73, -22.81)
CIE-LCHlch(18.84, 26.12, 299.17°)
OKLaboklab(30.53% 0.0191 -0.0643)
OKLCHoklch(30.53% 0.067 286.5)
XYZxyz(3.2860, 2.7082, 7.7452)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D294F #4B4F29
analogous
#29384F #2D294F #40294F
triadic
#2D294F #4F2D29 #294F2D
tetradic
#2D294F #4F2938 #4B4F29 #294F40
square
#2D294F #4F2938 #4B4F29 #294F40
split-complementary
#2D294F #4F4029 #384F29
monochromatic
#0B0A14 #161427 #2D294F #443E77 #5B53A0

Accessibility & contrast

On white

13.62
#2D294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D294F
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D294F#FFFFFF#000000##FFFFFF
##2D294F1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F50
Deuteranopia (green-blind)
#1B2D4E
Tritanopia (blue-blind)
#243038
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d294f;
/* rgb */ color: rgb(45, 41, 79);
/* oklch */ color: oklch(30.5% 0.067 286.5);
Tailwind
colors: {
  custom: {
    50: '#686280',
    500: '#2d294f',
    950: '#000000',
  },
}
SCSS
$custom: #2d294f;
$custom-light: #686280;
$custom-dark: #000000;
JSON
{
  "hex": "#2d294f",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 246.316,
    "s": 31.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30532,
    "c": 0.0671,
    "h": 286.5
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#2D294F
secondary
#7C8152
accent
#C860BD
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2D294F

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

Preview Lab → · Contrast checker → · Palette generator →

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