#2D2B4E#2D2B4E

#2D2B4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.062 H 284.8°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#2D2B4E
RGBrgb(45, 43, 78)
HSLhsl(243, 29%, 24%)
HSVhsv(243, 45%, 31%)
CMYKcmyk(42.3%, 44.9%, 0%, 69.4%)
CIE-LABlab(19.37, 10.99, -21.28)
CIE-LCHlch(19.37, 23.95, 297.31°)
OKLaboklab(30.92% 0.0158 -0.0599)
OKLCHoklch(30.92% 0.062 284.8)
XYZxyz(3.3208, 2.8356, 7.5786)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B4E #4C4E2B
analogous
#2B3A4E #2D2B4E #3E2B4E
triadic
#2D2B4E #4E2D2B #2B4E2D
tetradic
#2D2B4E #4E2B3A #4C4E2B #2B4E3E
square
#2D2B4E #4E2B3A #4C4E2B #2B4E3E
split-complementary
#2D2B4E #4E3E2B #3A4E2B
monochromatic
#0B0B14 #161527 #2D2B4E #444175 #5B569D

Accessibility & contrast

On white

13.40
#2D2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B4E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B4E#FFFFFF#000000##FFFFFF
##2D2B4E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#243238
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d2b4e;
/* rgb */ color: rgb(45, 43, 78);
/* oklch */ color: oklch(30.9% 0.062 284.8);
Tailwind
colors: {
  custom: {
    50: '#686480',
    500: '#2d2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b4e;
$custom-light: #686480;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b4e",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 243.429,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30921,
    "c": 0.06191,
    "h": 284.8
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#2D2B4E
secondary
#7D8055
accent
#C563C0
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2D2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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