#2D2CB1#2D2CB1

#2D2CB1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.201 H 272.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2D2CB1
RGBrgb(45, 44, 177)
HSLhsl(240, 60%, 43%)
HSVhsv(240, 75%, 69%)
CMYKcmyk(74.6%, 75.1%, 0%, 30.6%)
CIE-LABlab(28.20, 44.86, -69.53)
CIE-LCHlch(28.20, 82.75, 302.83°)
OKLaboklab(40.02% 0.01 -0.2012)
OKLCHoklch(40.02% 0.201 272.9)
XYZxyz(9.9160, 5.5325, 42.1317)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CB1 #B0B12C
analogous
#2C6DB1 #2D2CB1 #6F2CB1
triadic
#2D2CB1 #B12D2C #2CB12D
tetradic
#2D2CB1 #B12C6D #B0B12C #2CB16F
square
#2D2CB1 #B12C6D #B0B12C #2CB16F
split-complementary
#2D2CB1 #B16F2C #6DB12C
monochromatic
#14144F #212080 #2D2CB1 #4A49D2 #7A7ADE

Accessibility & contrast

On white

9.97
#2D2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D2CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CB1
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CB1#FFFFFF#000000##FFFFFF
##2D2CB11.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2cb1;
/* rgb */ color: rgb(45, 44, 177);
/* oklch */ color: oklch(40.0% 0.201 272.9);
Tailwind
colors: {
  custom: {
    50: '#7c67ca',
    500: '#2d2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cb1;
$custom-light: #7c67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cb1",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 240.451,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40019,
    "c": 0.20146,
    "h": 272.9
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#2D2CB1
secondary
#C5C673
accent
#E344E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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