#2D294C#2D294C

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

Color values

HEX#2D294C
RGBrgb(45, 41, 76)
HSLhsl(247, 30%, 23%)
HSVhsv(247, 46%, 30%)
CMYKcmyk(40.8%, 46.1%, 0%, 70.2%)
CIE-LABlab(18.65, 11.74, -21.07)
CIE-LCHlch(18.65, 24.12, 299.13°)
OKLaboklab(30.33% 0.0185 -0.0592)
OKLCHoklch(30.33% 0.062 287.3)
XYZxyz(3.1793, 2.6655, 7.1831)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D294C #484C29
analogous
#29364C #2D294C #3E294C
triadic
#2D294C #4C2D29 #294C2D
tetradic
#2D294C #4C2936 #484C29 #294C3E
square
#2D294C #4C2936 #484C29 #294C3E
split-complementary
#2D294C #4C3E29 #364C29
monochromatic
#0C0B14 #151424 #2D294C #453E74 #5C549C

Accessibility & contrast

On white

13.70
#2D294C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2D294C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D294C
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D294C#FFFFFF#000000##FFFFFF
##2D294C1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4D
Deuteranopia (green-blind)
#1D2C4B
Tritanopia (blue-blind)
#253036
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d294c;
/* rgb */ color: rgb(45, 41, 76);
/* oklch */ color: oklch(30.3% 0.062 287.3);
Tailwind
colors: {
  custom: {
    50: '#67627e',
    500: '#2d294c',
    950: '#000000',
  },
}
SCSS
$custom: #2d294c;
$custom-light: #67627e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d294c",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 246.857,
    "s": 29.915,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30332,
    "c": 0.06207,
    "h": 287.3
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#2D294C
secondary
#797E53
accent
#C662BB
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2D294C

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

Preview Lab → · Contrast checker → · Palette generator →

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