#2D2AB1#2D2AB1

#2D2AB1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.203 H 273.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2D2AB1
RGBrgb(45, 42, 177)
HSLhsl(241, 62%, 43%)
HSVhsv(241, 76%, 69%)
CMYKcmyk(74.6%, 76.3%, 0%, 30.6%)
CIE-LABlab(27.81, 45.97, -70.18)
CIE-LCHlch(27.81, 83.89, 303.22°)
OKLaboklab(39.74% 0.0109 -0.2031)
OKLCHoklch(39.74% 0.203 273.1)
XYZxyz(9.8433, 5.3871, 42.1075)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AB1 #AEB12A
analogous
#2A6BB1 #2D2AB1 #702AB1
triadic
#2D2AB1 #B12D2A #2AB12D
tetradic
#2D2AB1 #B12A6B #AEB12A #2AB170
square
#2D2AB1 #B12A6B #AEB12A #2AB170
split-complementary
#2D2AB1 #B1702A #6BB12A
monochromatic
#14134E #201E80 #2D2AB1 #4845D3 #7977DF

Accessibility & contrast

On white

10.11
#2D2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D2AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2AB1
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AB1#FFFFFF#000000##FFFFFF
##2D2AB11.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d2ab1;
/* rgb */ color: rgb(45, 42, 177);
/* oklch */ color: oklch(39.7% 0.203 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c66ca',
    500: '#2d2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ab1;
$custom-light: #7c66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ab1",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 241.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39743,
    "c": 0.20336,
    "h": 273.1
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#2D2AB1
secondary
#C4C670
accent
#E543E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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