#2D2BB8#2D2BB8

#2D2BB8 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.211 H 272.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2D2BB8
RGBrgb(45, 43, 184)
HSLhsl(241, 62%, 45%)
HSVhsv(241, 77%, 72%)
CMYKcmyk(75.5%, 76.6%, 0%, 27.8%)
CIE-LABlab(28.76, 47.70, -72.78)
CIE-LCHlch(28.76, 87.02, 303.24°)
OKLaboklab(40.64% 0.0091 -0.2106)
OKLCHoklch(40.64% 0.211 272.5)
XYZxyz(10.5949, 5.7452, 45.8887)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BB8 #B6B82B
analogous
#2B70B8 #2D2BB8 #742BB8
triadic
#2D2BB8 #B82D2B #2BB82D
tetradic
#2D2BB8 #B82B70 #B6B82B #2BB874
square
#2D2BB8 #B82B70 #B6B82B #2BB874
split-complementary
#2D2BB8 #B8742B #70B82B
monochromatic
#151455 #211F86 #2D2BB8 #4D4BD5 #7E7DE1

Accessibility & contrast

On white

9.77
#2D2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BB8
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BB8#FFFFFF#000000##FFFFFF
##2D2BB81.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2bb8;
/* rgb */ color: rgb(45, 43, 184);
/* oklch */ color: oklch(40.6% 0.211 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d67cf',
    500: '#2d2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2d2bb8;
$custom-light: #7d67cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2bb8",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 240.851,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.21083,
    "h": 272.5
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#2D2BB8
secondary
#C8C976
accent
#E543E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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