#2D2DB2#2D2DB2

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

Color values

HEX#2D2DB2
RGBrgb(45, 45, 178)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 70%)
CMYKcmyk(74.7%, 74.7%, 0%, 30.2%)
CIE-LABlab(28.51, 44.63, -69.62)
CIE-LCHlch(28.51, 82.70, 302.66°)
OKLaboklab(40.27% 0.0094 -0.2015)
OKLCHoklch(40.27% 0.202 272.7)
XYZxyz(10.0538, 5.6480, 42.6712)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2DB2 #B2B22D
analogous
#2D6FB2 #2D2DB2 #6F2DB2
triadic
#2D2DB2 #B22D2D #2DB22D
tetradic
#2D2DB2 #B22D6F #B2B22D #2DB26F
square
#2D2DB2 #B22D6F #B2B22D #2DB26F
split-complementary
#2D2DB2 #B26F2D #6FB22D
monochromatic
#141450 #212181 #2D2DB2 #4B4BD1 #7C7CDE

Accessibility & contrast

On white

9.86
#2D2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D2DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2DB2
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2DB2#FFFFFF#000000##FFFFFF
##2D2DB21.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d2db2;
/* rgb */ color: rgb(45, 45, 178);
/* oklch */ color: oklch(40.3% 0.202 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c68ca',
    500: '#2d2db2',
    950: '#000000',
  },
}
SCSS
$custom: #2d2db2;
$custom-light: #7c68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2db2",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.20171,
    "h": 272.7
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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