#2D2B66#2D2B66

#2D2B66 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.101 H 280.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2D2B66
RGBrgb(45, 43, 102)
HSLhsl(242, 41%, 28%)
HSVhsv(242, 58%, 40%)
CMYKcmyk(55.9%, 57.8%, 0%, 60%)
CIE-LABlab(21.00, 19.29, -34.60)
CIE-LCHlch(21.00, 39.62, 299.13°)
OKLaboklab(32.67% 0.0188 -0.0989)
OKLCHoklch(32.67% 0.101 280.8)
XYZxyz(4.3436, 3.2447, 12.9652)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B66 #64662B
analogous
#2B4666 #2D2B66 #4A2B66
triadic
#2D2B66 #662D2B #2B662D
tetradic
#2D2B66 #662B46 #64662B #2B664A
square
#2D2B66 #662B46 #64662B #2B664A
split-complementary
#2D2B66 #664A2B #46662B
monochromatic
#090916 #1A193B #2D2B66 #403D91 #5854B7

Accessibility & contrast

On white

12.73
#2D2B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2D2B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B66
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B66#FFFFFF#000000##FFFFFF
##2D2B661.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073568
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#153844
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2b66;
/* rgb */ color: rgb(45, 43, 102);
/* oklch */ color: oklch(32.7% 0.101 280.8);
Tailwind
colors: {
  custom: {
    50: '#6b6492',
    500: '#2d2b66',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b66;
$custom-light: #6b6492;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b66",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 242.034,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3267,
    "c": 0.10071,
    "h": 280.8
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#2D2B66
secondary
#969855
accent
#D157CC
background
#F6F5F9
surface
#ECEAF1
border
#C7C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2D2B66

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

Preview Lab → · Contrast checker → · Palette generator →

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