#2D2FB6#2D2FB6

#2D2FB6 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.205 H 272.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2D2FB6
RGBrgb(45, 47, 182)
HSLhsl(239, 60%, 45%)
HSVhsv(239, 75%, 71%)
CMYKcmyk(75.3%, 74.2%, 0%, 28.6%)
CIE-LABlab(29.33, 44.83, -70.65)
CIE-LCHlch(29.33, 83.67, 302.40°)
OKLaboklab(40.98% 0.0078 -0.2045)
OKLCHoklch(40.98% 0.205 272.2)
XYZxyz(10.5394, 5.9672, 44.8432)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FB6 #B6B42D
analogous
#2D74B6 #2D2FB6 #702DB6
triadic
#2D2FB6 #B62D2F #2FB62D
tetradic
#2D2FB6 #B62D74 #B6B42D #2DB670
square
#2D2FB6 #B62D74 #B6B42D #2DB670
split-complementary
#2D2FB6 #B6702D #74B62D
monochromatic
#151654 #212285 #2D2FB6 #4D4FD3 #7E80DF

Accessibility & contrast

On white

9.57
#2D2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2FB6
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FB6#FFFFFF#000000##FFFFFF
##2D2FB61.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d2fb6;
/* rgb */ color: rgb(45, 47, 182);
/* oklch */ color: oklch(41.0% 0.205 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c69cd',
    500: '#2d2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fb6;
$custom-light: #7c69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fb6",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 239.124,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40976,
    "c": 0.20463,
    "h": 272.2
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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