#2D2B6E#2D2B6E

#2D2B6E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.113 H 279.7°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#2D2B6E
RGBrgb(45, 43, 110)
HSLhsl(242, 44%, 30%)
HSVhsv(242, 61%, 43%)
CMYKcmyk(59.1%, 60.9%, 0%, 56.9%)
CIE-LABlab(21.62, 22.14, -38.79)
CIE-LCHlch(21.62, 44.66, 299.72°)
OKLaboklab(33.33% 0.019 -0.1112)
OKLCHoklch(33.33% 0.113 279.7)
XYZxyz(4.7597, 3.4111, 15.1564)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B6E #6C6E2B
analogous
#2B4B6E #2D2B6E #4E2B6E
triadic
#2D2B6E #6E2D2B #2B6E2D
tetradic
#2D2B6E #6E2B4B #6C6E2B #2B6E4E
square
#2D2B6E #6E2B4B #6C6E2B #2B6E4E
split-complementary
#2D2B6E #6E4E2B #4B6E2B
monochromatic
#090916 #1B1A42 #2D2B6E #3F3C9A #5956BD

Accessibility & contrast

On white

12.48
#2D2B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D2B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B6E
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B6E#FFFFFF#000000##FFFFFF
##2D2B6E1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#0B3B48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2b6e;
/* rgb */ color: rgb(45, 43, 110);
/* oklch */ color: oklch(33.3% 0.113 279.7);
Tailwind
colors: {
  custom: {
    50: '#6d6498',
    500: '#2d2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b6e;
$custom-light: #6d6498;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b6e",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 241.791,
    "s": 43.791,
    "l": 30
  },
  "oklch": {
    "l": 0.3333,
    "c": 0.11284,
    "h": 279.7
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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