#2D294B#2D294B

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

Color values

HEX#2D294B
RGBrgb(45, 41, 75)
HSLhsl(247, 29%, 23%)
HSVhsv(247, 45%, 29%)
CMYKcmyk(40%, 45.3%, 0%, 70.6%)
CIE-LABlab(18.59, 11.42, -20.49)
CIE-LCHlch(18.59, 23.45, 299.13°)
OKLaboklab(30.27% 0.0183 -0.0575)
OKLCHoklch(30.27% 0.06 287.6)
XYZxyz(3.1448, 2.6517, 7.0014)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D294B #474B29
analogous
#29364B #2D294B #3E294B
triadic
#2D294B #4B2D29 #294B2D
tetradic
#2D294B #4B2936 #474B29 #294B3E
square
#2D294B #4B2936 #474B29 #294B3E
split-complementary
#2D294B #4B3E29 #364B29
monochromatic
#0C0B14 #151323 #2D294B #453F73 #5C549A

Accessibility & contrast

On white

13.72
#2D294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D294B
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D294B#FFFFFF#000000##FFFFFF
##2D294B1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4C
Deuteranopia (green-blind)
#1E2C4A
Tritanopia (blue-blind)
#252F36
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d294b;
/* rgb */ color: rgb(45, 41, 75);
/* oklch */ color: oklch(30.3% 0.060 287.6);
Tailwind
colors: {
  custom: {
    50: '#67627d',
    500: '#2d294b',
    950: '#000000',
  },
}
SCSS
$custom: #2d294b;
$custom-light: #67627d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d294b",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 247.059,
    "s": 29.31,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.06038,
    "h": 287.6
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#2D294B
secondary
#787D53
accent
#C662BA
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#060509
muted
#7A797B

Preview Lab

Preview with #2D294B

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

Preview Lab → · Contrast checker → · Palette generator →

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