#2D2FB4#2D2FB4

#2D2FB4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.202 H 272.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2D2FB4
RGBrgb(45, 47, 180)
HSLhsl(239, 60%, 44%)
HSVhsv(239, 75%, 71%)
CMYKcmyk(75%, 73.9%, 0%, 29.4%)
CIE-LABlab(29.12, 44.16, -69.80)
CIE-LCHlch(29.12, 82.60, 302.32°)
OKLaboklab(40.77% 0.0081 -0.202)
OKLCHoklch(40.77% 0.202 272.3)
XYZxyz(10.3341, 5.8851, 43.7625)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FB4 #B4B22D
analogous
#2D73B4 #2D2FB4 #6F2DB4
triadic
#2D2FB4 #B42D2F #2FB42D
tetradic
#2D2FB4 #B42D73 #B4B22D #2DB46F
square
#2D2FB4 #B42D73 #B4B22D #2DB46F
split-complementary
#2D2FB4 #B46F2D #73B42D
monochromatic
#151552 #212283 #2D2FB4 #4C4ED2 #7D7EDE

Accessibility & contrast

On white

9.65
#2D2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D2FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FB4
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FB4#FFFFFF#000000##FFFFFF
##2D2FB41.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d2fb4;
/* rgb */ color: rgb(45, 47, 180);
/* oklch */ color: oklch(40.8% 0.202 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c69cc',
    500: '#2d2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fb4;
$custom-light: #7c69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fb4",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 239.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40765,
    "c": 0.20218,
    "h": 272.3
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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