#2D2B74#2D2B74

#2D2B74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.122 H 278.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2D2B74
RGBrgb(45, 43, 116)
HSLhsl(242, 46%, 31%)
HSVhsv(242, 63%, 45%)
CMYKcmyk(61.2%, 62.9%, 0%, 54.5%)
CIE-LABlab(22.11, 24.29, -41.85)
CIE-LCHlch(22.11, 48.39, 300.13°)
OKLaboklab(33.85% 0.0188 -0.1202)
OKLCHoklch(33.85% 0.122 278.9)
XYZxyz(5.0974, 3.5462, 16.9355)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B74 #72742B
analogous
#2B4D74 #2D2B74 #512B74
triadic
#2D2B74 #742D2B #2B742D
tetradic
#2D2B74 #742B4D #72742B #2B7451
square
#2D2B74 #742B4D #72742B #2B7451
split-complementary
#2D2B74 #74512B #4D742B
monochromatic
#0A0A1B #1C1A47 #2D2B74 #3E3CA1 #5B58C1

Accessibility & contrast

On white

12.29
#2D2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2D2B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B74
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B74#FFFFFF#000000##FFFFFF
##2D2B741.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2b74;
/* rgb */ color: rgb(45, 43, 116);
/* oklch */ color: oklch(33.8% 0.122 278.9);
Tailwind
colors: {
  custom: {
    50: '#6e649d',
    500: '#2d2b74',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b74;
$custom-light: #6e649d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b74",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 241.644,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33846,
    "c": 0.12171,
    "h": 278.9
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#2D2B74
secondary
#A3A655
accent
#D652D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2D2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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