#2D2D80#2D2D80

#2D2D80 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.136 H 276.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2D2D80
RGBrgb(45, 45, 128)
HSLhsl(240, 48%, 34%)
HSVhsv(240, 65%, 50%)
CMYKcmyk(64.8%, 64.8%, 0%, 49.8%)
CIE-LABlab(23.65, 27.25, -46.97)
CIE-LCHlch(23.65, 54.30, 300.12°)
OKLaboklab(35.3% 0.0162 -0.1353)
OKLCHoklch(35.3% 0.136 276.8)
XYZxyz(5.9156, 3.9927, 20.8768)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D80 #80802D
analogous
#2D5780 #2D2D80 #572D80
triadic
#2D2D80 #802D2D #2D802D
tetradic
#2D2D80 #802D57 #80802D #2D8057
square
#2D2D80 #802D57 #80802D #2D8057
split-complementary
#2D2D80 #80572D #57802D
monochromatic
#0D0D25 #1D1D53 #2D2D80 #3D3DAD #6060C7

Accessibility & contrast

On white

11.68
#2D2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D2D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D80
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D80#FFFFFF#000000##FFFFFF
##2D2D801.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2d80;
/* rgb */ color: rgb(45, 45, 128);
/* oklch */ color: oklch(35.3% 0.136 276.8);
Tailwind
colors: {
  custom: {
    50: '#7066a6',
    500: '#2d2d80',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d80;
$custom-light: #7066a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d80",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 240,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35295,
    "c": 0.13625,
    "h": 276.8
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#2D2D80
secondary
#AEAE5B
accent
#D850D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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