#2F2DBB#2F2DBB

#2F2DBB is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.212 H 272.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2F2DBB
RGBrgb(47, 45, 187)
HSLhsl(241, 61%, 45%)
HSVhsv(241, 76%, 73%)
CMYKcmyk(74.9%, 75.9%, 0%, 26.7%)
CIE-LABlab(29.58, 47.75, -73.19)
CIE-LCHlch(29.58, 87.39, 303.12°)
OKLaboklab(41.34% 0.01 -0.2118)
OKLCHoklch(41.34% 0.212 272.7)
XYZxyz(11.0773, 6.0678, 47.5915)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DBB #B9BB2D
analogous
#2D72BB #2F2DBB #762DBB
triadic
#2F2DBB #BB2F2D #2DBB2F
tetradic
#2F2DBB #BB2D72 #B9BB2D #2DBB76
square
#2F2DBB #BB2D72 #B9BB2D #2DBB76
split-complementary
#2F2DBB #BB762D #72BB2D
monochromatic
#161558 #23218A #2F2DBB #5250D5 #8382E1

Accessibility & contrast

On white

9.49
#2F2DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2DBB
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DBB#FFFFFF#000000##FFFFFF
##2F2DBB1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f2dbb;
/* rgb */ color: rgb(47, 45, 187);
/* oklch */ color: oklch(41.3% 0.212 272.7);
Tailwind
colors: {
  custom: {
    50: '#7f68d1',
    500: '#2f2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #2f2dbb;
$custom-light: #7f68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2dbb",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 240.845,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41344,
    "c": 0.21205,
    "h": 272.7
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#2F2DBB
secondary
#C9CA7A
accent
#E443E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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