#2D2FB5#2D2FB5

#2D2FB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.203 H 272.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2D2FB5
RGBrgb(45, 47, 181)
HSLhsl(239, 60%, 44%)
HSVhsv(239, 75%, 71%)
CMYKcmyk(75.1%, 74%, 0%, 29%)
CIE-LABlab(29.23, 44.49, -70.23)
CIE-LCHlch(29.23, 83.13, 302.36°)
OKLaboklab(40.87% 0.008 -0.2032)
OKLCHoklch(40.87% 0.203 272.2)
XYZxyz(10.4364, 5.9260, 44.3009)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FB5 #B5B32D
analogous
#2D73B5 #2D2FB5 #6F2DB5
triadic
#2D2FB5 #B52D2F #2FB52D
tetradic
#2D2FB5 #B52D73 #B5B32D #2DB56F
square
#2D2FB5 #B52D73 #B5B32D #2DB56F
split-complementary
#2D2FB5 #B56F2D #73B52D
monochromatic
#151653 #212284 #2D2FB5 #4D4FD3 #7E7FDF

Accessibility & contrast

On white

9.61
#2D2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FB5
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FB5#FFFFFF#000000##FFFFFF
##2D2FB51.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d2fb5;
/* rgb */ color: rgb(45, 47, 181);
/* oklch */ color: oklch(40.9% 0.203 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c69cc',
    500: '#2d2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fb5;
$custom-light: #7c69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fb5",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 239.118,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40871,
    "c": 0.20341,
    "h": 272.2
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#2D2FB5
secondary
#C7C676
accent
#E144E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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