#2D2B6F#2D2B6F

#2D2B6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.4% C 0.114 H 279.5°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#2D2B6F
RGBrgb(45, 43, 111)
HSLhsl(242, 44%, 30%)
HSVhsv(242, 61%, 44%)
CMYKcmyk(59.5%, 61.3%, 0%, 56.5%)
CIE-LABlab(21.70, 22.50, -39.30)
CIE-LCHlch(21.70, 45.29, 299.79°)
OKLaboklab(33.41% 0.019 -0.1128)
OKLCHoklch(33.41% 0.114 279.5)
XYZxyz(4.8144, 3.4330, 15.4448)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B6F #6D6F2B
analogous
#2B4B6F #2D2B6F #4F2B6F
triadic
#2D2B6F #6F2D2B #2B6F2D
tetradic
#2D2B6F #6F2B4B #6D6F2B #2B6F4F
square
#2D2B6F #6F2B4B #6D6F2B #2B6F4F
split-complementary
#2D2B6F #6F4F2B #4B6F2B
monochromatic
#090917 #1B1A43 #2D2B6F #3F3C9B #5A57BE

Accessibility & contrast

On white

12.45
#2D2B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2D2B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B6F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B6F#FFFFFF#000000##FFFFFF
##2D2B6F1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#093B48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2b6f;
/* rgb */ color: rgb(45, 43, 111);
/* oklch */ color: oklch(33.4% 0.114 279.5);
Tailwind
colors: {
  custom: {
    50: '#6d6499',
    500: '#2d2b6f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b6f;
$custom-light: #6d6499;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b6f",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 241.765,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33414,
    "c": 0.11434,
    "h": 279.5
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#2D2B6F
secondary
#9FA155
accent
#D454D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2D2B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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