#2D2DB1#2D2DB1

#2D2DB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.200 H 272.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2D2DB1
RGBrgb(45, 45, 177)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 75%, 69%)
CMYKcmyk(74.6%, 74.6%, 0%, 30.6%)
CIE-LABlab(28.40, 44.29, -69.20)
CIE-LCHlch(28.40, 82.16, 302.62°)
OKLaboklab(40.16% 0.0096 -0.2003)
OKLCHoklch(40.16% 0.2 272.7)
XYZxyz(9.9537, 5.6080, 42.1443)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2DB1 #B1B12D
analogous
#2D6FB1 #2D2DB1 #6F2DB1
triadic
#2D2DB1 #B12D2D #2DB12D
tetradic
#2D2DB1 #B12D6F #B1B12D #2DB16F
square
#2D2DB1 #B12D6F #B1B12D #2DB16F
split-complementary
#2D2DB1 #B16F2D #6FB12D
monochromatic
#14144F #212180 #2D2DB1 #4A4AD1 #7B7BDD

Accessibility & contrast

On white

9.90
#2D2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D2DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2DB1
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2DB1#FFFFFF#000000##FFFFFF
##2D2DB11.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d2db1;
/* rgb */ color: rgb(45, 45, 177);
/* oklch */ color: oklch(40.2% 0.200 272.7);
Tailwind
colors: {
  custom: {
    50: '#7b68ca',
    500: '#2d2db1',
    950: '#000000',
  },
}
SCSS
$custom: #2d2db1;
$custom-light: #7b68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2db1",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 240,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.20049,
    "h": 272.7
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#2D2DB1
secondary
#C6C674
accent
#E345E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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