#2D2F4E#2D2F4E

#2D2F4E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.9% C 0.055 H 280.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#2D2F4E
RGBrgb(45, 47, 78)
HSLhsl(236, 27%, 24%)
HSVhsv(236, 42%, 31%)
CMYKcmyk(42.3%, 39.7%, 0%, 69.4%)
CIE-LABlab(20.60, 8.17, -19.35)
CIE-LCHlch(20.60, 21.01, 292.89°)
OKLaboklab(31.86% 0.0095 -0.0542)
OKLCHoklch(31.86% 0.055 280)
XYZxyz(3.4735, 3.1408, 7.6295)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F4E #4E4C2D
analogous
#2D404E #2D2F4E #3C2D4E
triadic
#2D2F4E #4E2D2F #2F4E2D
tetradic
#2D2F4E #4E2D40 #4E4C2D #2D4E3C
square
#2D2F4E #4E2D40 #4E4C2D #2D4E3C
split-complementary
#2D2F4E #4E3C2D #404E2D
monochromatic
#0B0C13 #171827 #2D2F4E #434675 #5A5E9C

Accessibility & contrast

On white

12.90
#2D2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F4E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F4E#FFFFFF#000000##FFFFFF
##2D2F4E1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#23304D
Tritanopia (blue-blind)
#23353A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2f4e;
/* rgb */ color: rgb(45, 47, 78);
/* oklch */ color: oklch(31.9% 0.055 280.0);
Tailwind
colors: {
  custom: {
    50: '#67677f',
    500: '#2d2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f4e;
$custom-light: #67677f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f4e",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 236.364,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31859,
    "c": 0.05508,
    "h": 280
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#2D2F4E
secondary
#807D57
accent
#BD65C3
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2D2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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