#2D2B9C#2D2B9C

#2D2B9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.176 H 274.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2D2B9C
RGBrgb(45, 43, 156)
HSLhsl(241, 57%, 39%)
HSVhsv(241, 72%, 61%)
CMYKcmyk(71.2%, 72.4%, 0%, 38.8%)
CIE-LABlab(25.82, 38.37, -60.78)
CIE-LCHlch(25.82, 71.87, 302.26°)
OKLaboklab(37.67% 0.0143 -0.1757)
OKLCHoklch(37.67% 0.176 274.6)
XYZxyz(7.9448, 4.6852, 31.9317)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B9C #9A9C2B
analogous
#2B629C #2D2B9C #662B9C
triadic
#2D2B9C #9C2D2B #2B9C2D
tetradic
#2D2B9C #9C2B62 #9A9C2B #2B9C66
square
#2D2B9C #9C2B62 #9A9C2B #2B9C66
split-complementary
#2D2B9C #9C662B #629C2B
monochromatic
#11113C #1F1E6C #2D2B9C #3E3BC9 #6D6BD6

Accessibility & contrast

On white

10.84
#2D2B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D2B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B9C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B9C#FFFFFF#000000##FFFFFF
##2D2B9C1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2b9c;
/* rgb */ color: rgb(45, 43, 156);
/* oklch */ color: oklch(37.7% 0.176 274.6);
Tailwind
colors: {
  custom: {
    50: '#7765ba',
    500: '#2d2b9c',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b9c;
$custom-light: #7765ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b9c",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 241.062,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37673,
    "c": 0.17628,
    "h": 274.6
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#2D2B9C
secondary
#BBBD66
accent
#E048DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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