#2D2B6A#2D2B6A

#2D2B6A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.0% C 0.107 H 280.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2D2B6A
RGBrgb(45, 43, 106)
HSLhsl(242, 42%, 29%)
HSVhsv(242, 59%, 42%)
CMYKcmyk(57.5%, 59.4%, 0%, 58.4%)
CIE-LABlab(21.30, 20.71, -36.71)
CIE-LCHlch(21.30, 42.15, 299.43°)
OKLaboklab(33% 0.0189 -0.1051)
OKLCHoklch(33% 0.107 280.2)
XYZxyz(4.5468, 3.3260, 14.0353)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B6A #686A2B
analogous
#2B496A #2D2B6A #4D2B6A
triadic
#2D2B6A #6A2D2B #2B6A2D
tetradic
#2D2B6A #6A2B49 #686A2B #2B6A4D
square
#2D2B6A #6A2B49 #686A2B #2B6A4D
split-complementary
#2D2B6A #6A4D2B #496A2B
monochromatic
#090916 #1B193E #2D2B6A #3F3D96 #5855BA

Accessibility & contrast

On white

12.61
#2D2B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2D2B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B6A
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B6A#FFFFFF#000000##FFFFFF
##2D2B6A1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#103A46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2b6a;
/* rgb */ color: rgb(45, 43, 106);
/* oklch */ color: oklch(33.0% 0.107 280.2);
Tailwind
colors: {
  custom: {
    50: '#6c6495',
    500: '#2d2b6a',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b6a;
$custom-light: #6c6495;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b6a",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 241.905,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32995,
    "c": 0.10682,
    "h": 280.2
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#2D2B6A
secondary
#9A9C55
accent
#D256CE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2D2B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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