#2D394F#2D394F

#2D394F is a dark, muted blue. Relative luminance 0.040; OKLCH L 34.4% C 0.042 H 262.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2D394F
RGBrgb(45, 57, 79)
HSLhsl(219, 27%, 24%)
HSVhsv(219, 43%, 31%)
CMYKcmyk(43%, 27.8%, 0%, 69%)
CIE-LABlab(23.83, 1.59, -14.98)
CIE-LCHlch(23.83, 15.07, 276.08°)
OKLaboklab(34.38% -0.0057 -0.0416)
OKLCHoklch(34.38% 0.042 262.2)
XYZxyz(3.9562, 4.0485, 7.9686)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D394F #4F432D
analogous
#2D4A4F #2D394F #322D4F
triadic
#2D394F #4F2D39 #394F2D
tetradic
#2D394F #4F2D4A #4F432D #2D4F32
square
#2D394F #4F2D4A #4F432D #2D4F32
split-complementary
#2D394F #4F322D #4A4F2D
monochromatic
#0B0E13 #171D28 #2D394F #435576 #59719D

Accessibility & contrast

On white

11.60
#2D394F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D394F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D394F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D394F#FFFFFF#000000##FFFFFF
##2D394F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A50
Deuteranopia (green-blind)
#2E374F
Tritanopia (blue-blind)
#223E41
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d394f;
/* rgb */ color: rgb(45, 57, 79);
/* oklch */ color: oklch(34.4% 0.042 262.2);
Tailwind
colors: {
  custom: {
    50: '#676f80',
    500: '#2d394f',
    950: '#000000',
  },
}
SCSS
$custom: #2d394f;
$custom-light: #676f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2d394f",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 79
  },
  "hsl": {
    "h": 218.824,
    "s": 27.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34381,
    "c": 0.04204,
    "h": 262.2
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#2D394F
secondary
#817257
accent
#A264C4
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2D394F

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

Preview Lab → · Contrast checker → · Palette generator →

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