#2F2DBD#2F2DBD

#2F2DBD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.214 H 272.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2F2DBD
RGBrgb(47, 45, 189)
HSLhsl(241, 62%, 46%)
HSVhsv(241, 76%, 74%)
CMYKcmyk(75.1%, 76.2%, 0%, 25.9%)
CIE-LABlab(29.80, 48.40, -74.02)
CIE-LCHlch(29.80, 88.44, 303.18°)
OKLaboklab(41.56% 0.0097 -0.2142)
OKLCHoklch(41.56% 0.214 272.6)
XYZxyz(11.2929, 6.1540, 48.7269)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DBD #BBBD2D
analogous
#2D73BD #2F2DBD #772DBD
triadic
#2F2DBD #BD2F2D #2DBD2F
tetradic
#2F2DBD #BD2D73 #BBBD2D #2DBD77
square
#2F2DBD #BD2D73 #BBBD2D #2DBD77
split-complementary
#2F2DBD #BD772D #73BD2D
monochromatic
#16155A #23218C #2F2DBD #5352D6 #8483E1

Accessibility & contrast

On white

9.41
#2F2DBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F2DBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2DBD
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DBD#FFFFFF#000000##FFFFFF
##2F2DBD1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f2dbd;
/* rgb */ color: rgb(47, 45, 189);
/* oklch */ color: oklch(41.6% 0.214 272.6);
Tailwind
colors: {
  custom: {
    50: '#7f68d2',
    500: '#2f2dbd',
    950: '#000000',
  },
}
SCSS
$custom: #2f2dbd;
$custom-light: #7f68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2dbd",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 240.833,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.21444,
    "h": 272.6
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#2F2DBD
secondary
#C9CB7B
accent
#E543E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F2DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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