#2F2D85#2F2D85

#2F2D85 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.143 H 277.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2F2D85
RGBrgb(47, 45, 133)
HSLhsl(241, 49%, 35%)
HSVhsv(241, 66%, 52%)
CMYKcmyk(64.7%, 66.2%, 0%, 47.8%)
CIE-LABlab(24.24, 29.37, -49.14)
CIE-LCHlch(24.24, 57.24, 300.86°)
OKLaboklab(35.9% 0.0184 -0.1416)
OKLCHoklch(35.9% 0.143 277.4)
XYZxyz(6.3429, 4.1741, 22.6572)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D85 #83852D
analogous
#2D5785 #2F2D85 #5B2D85
triadic
#2F2D85 #852F2D #2D852F
tetradic
#2F2D85 #852D57 #83852D #2D855B
square
#2F2D85 #852D57 #83852D #2D855B
split-complementary
#2F2D85 #855B2D #57852D
monochromatic
#0F0E2A #1F1E57 #2F2D85 #3F3CB3 #6562CA

Accessibility & contrast

On white

11.44
#2F2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D85
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D85#FFFFFF#000000##FFFFFF
##2F2D851.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2d85;
/* rgb */ color: rgb(47, 45, 133);
/* oklch */ color: oklch(35.9% 0.143 277.4);
Tailwind
colors: {
  custom: {
    50: '#7266a9',
    500: '#2f2d85',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d85;
$custom-light: #7266a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d85",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 241.364,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35903,
    "c": 0.14278,
    "h": 277.4
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#2F2D85
secondary
#AFB05D
accent
#D94FD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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