#2D2FB8#2D2FB8

#2D2FB8 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.2% C 0.207 H 272.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2D2FB8
RGBrgb(45, 47, 184)
HSLhsl(239, 61%, 45%)
HSVhsv(239, 76%, 72%)
CMYKcmyk(75.5%, 74.5%, 0%, 27.8%)
CIE-LABlab(29.54, 45.49, -71.49)
CIE-LCHlch(29.54, 84.74, 302.47°)
OKLaboklab(41.19% 0.0074 -0.2069)
OKLCHoklch(41.19% 0.207 272.1)
XYZxyz(10.7475, 6.0505, 45.9395)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FB8 #B8B62D
analogous
#2D74B8 #2D2FB8 #712DB8
triadic
#2D2FB8 #B82D2F #2FB82D
tetradic
#2D2FB8 #B82D74 #B8B62D #2DB871
square
#2D2FB8 #B82D74 #B8B62D #2DB871
split-complementary
#2D2FB8 #B8712D #74B82D
monochromatic
#151656 #212287 #2D2FB8 #4E50D4 #8081E0

Accessibility & contrast

On white

9.50
#2D2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FB8
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FB8#FFFFFF#000000##FFFFFF
##2D2FB81.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d2fb8;
/* rgb */ color: rgb(45, 47, 184);
/* oklch */ color: oklch(41.2% 0.207 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d69cf',
    500: '#2d2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fb8;
$custom-light: #7d69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fb8",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 239.137,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.20706,
    "h": 272.1
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#2D2FB8
secondary
#C9C778
accent
#E244E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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