#2D2B70#2D2B70

#2D2B70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.116 H 279.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2D2B70
RGBrgb(45, 43, 112)
HSLhsl(242, 45%, 30%)
HSVhsv(242, 62%, 44%)
CMYKcmyk(59.8%, 61.6%, 0%, 56.1%)
CIE-LABlab(21.78, 22.85, -39.82)
CIE-LCHlch(21.78, 45.91, 299.86°)
OKLaboklab(33.5% 0.0189 -0.1143)
OKLCHoklch(33.5% 0.116 279.4)
XYZxyz(4.8698, 3.4552, 15.7364)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B70 #6E702B
analogous
#2B4B70 #2D2B70 #4F2B70
triadic
#2D2B70 #702D2B #2B702D
tetradic
#2D2B70 #702B4B #6E702B #2B704F
square
#2D2B70 #702B4B #6E702B #2B704F
split-complementary
#2D2B70 #704F2B #4B702B
monochromatic
#090918 #1B1A44 #2D2B70 #3F3C9C #5A57BE

Accessibility & contrast

On white

12.42
#2D2B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2B70
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B70#FFFFFF#000000##FFFFFF
##2D2B701.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#073B49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2b70;
/* rgb */ color: rgb(45, 43, 112);
/* oklch */ color: oklch(33.5% 0.116 279.4);
Tailwind
colors: {
  custom: {
    50: '#6d649a',
    500: '#2d2b70',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b70;
$custom-light: #6d649a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b70",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 241.739,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.335,
    "c": 0.11583,
    "h": 279.4
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#2D2B70
secondary
#A0A255
accent
#D454D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2D2B70

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

Preview Lab → · Contrast checker → · Palette generator →

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