#2D294D#2D294D

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

Color values

HEX#2D294D
RGBrgb(45, 41, 77)
HSLhsl(247, 31%, 23%)
HSVhsv(247, 47%, 30%)
CMYKcmyk(41.6%, 46.8%, 0%, 69.8%)
CIE-LABlab(18.71, 12.07, -21.65)
CIE-LCHlch(18.71, 24.79, 299.14°)
OKLaboklab(30.4% 0.0187 -0.0609)
OKLCHoklch(30.4% 0.064 287.1)
XYZxyz(3.2143, 2.6795, 7.3676)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D294D #494D29
analogous
#29374D #2D294D #3F294D
triadic
#2D294D #4D2D29 #294D2D
tetradic
#2D294D #4D2937 #494D29 #294D3F
square
#2D294D #4D2937 #494D29 #294D3F
split-complementary
#2D294D #4D3F29 #374D29
monochromatic
#0C0B14 #161425 #2D294D #443E75 #5C549D

Accessibility & contrast

On white

13.67
#2D294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D294D
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D294D#FFFFFF#000000##FFFFFF
##2D294D1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d294d;
/* rgb */ color: rgb(45, 41, 77);
/* oklch */ color: oklch(30.4% 0.064 287.1);
Tailwind
colors: {
  custom: {
    50: '#68627f',
    500: '#2d294d',
    950: '#000000',
  },
}
SCSS
$custom: #2d294d;
$custom-light: #68627f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d294d",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 246.667,
    "s": 30.508,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30398,
    "c": 0.06375,
    "h": 287.1
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#2D294D
secondary
#7A7F52
accent
#C761BB
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2D294D

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

Preview Lab → · Contrast checker → · Palette generator →

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