#2D2B8A#2D2B8A

#2D2B8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.153 H 276.4°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2D2B8A
RGBrgb(45, 43, 138)
HSLhsl(241, 52%, 35%)
HSVhsv(241, 69%, 54%)
CMYKcmyk(67.4%, 68.8%, 0%, 45.9%)
CIE-LABlab(24.06, 32.11, -52.55)
CIE-LCHlch(24.06, 61.59, 301.43°)
OKLaboklab(35.88% 0.017 -0.1517)
OKLCHoklch(35.88% 0.153 276.4)
XYZxyz(6.5320, 4.1201, 24.4909)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B8A #888A2B
analogous
#2B588A #2D2B8A #5C2B8A
triadic
#2D2B8A #8A2D2B #2B8A2D
tetradic
#2D2B8A #8A2B58 #888A2B #2B8A5C
square
#2D2B8A #8A2B58 #888A2B #2B8A5C
split-complementary
#2D2B8A #8A5C2B #588A2B
monochromatic
#0F0E2D #1E1C5B #2D2B8A #3C3AB9 #6461CE

Accessibility & contrast

On white

11.51
#2D2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B8A
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B8A#FFFFFF#000000##FFFFFF
##2D2B8A1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2b8a;
/* rgb */ color: rgb(45, 43, 138);
/* oklch */ color: oklch(35.9% 0.153 276.4);
Tailwind
colors: {
  custom: {
    50: '#7365ad',
    500: '#2d2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b8a;
$custom-light: #7365ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b8a",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 241.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.1526,
    "h": 276.4
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#2D2B8A
secondary
#B2B45D
accent
#DC4CD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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