#2F2D84#2F2D84

#2F2D84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.141 H 277.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2F2D84
RGBrgb(47, 45, 132)
HSLhsl(241, 49%, 35%)
HSVhsv(241, 66%, 52%)
CMYKcmyk(64.4%, 65.9%, 0%, 48.2%)
CIE-LABlab(24.15, 29.01, -48.66)
CIE-LCHlch(24.15, 56.65, 300.81°)
OKLaboklab(35.81% 0.0185 -0.1402)
OKLCHoklch(35.81% 0.141 277.5)
XYZxyz(6.2742, 4.1466, 22.2951)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D84 #82842D
analogous
#2D5784 #2F2D84 #5A2D84
triadic
#2F2D84 #842F2D #2D842F
tetradic
#2F2D84 #842D57 #82842D #2D845A
square
#2F2D84 #842D57 #82842D #2D845A
split-complementary
#2F2D84 #845A2D #57842D
monochromatic
#0E0E29 #1F1D56 #2F2D84 #3F3DB2 #6462C9

Accessibility & contrast

On white

11.48
#2F2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2F2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D84
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D84#FFFFFF#000000##FFFFFF
##2F2D841.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2d84;
/* rgb */ color: rgb(47, 45, 132);
/* oklch */ color: oklch(35.8% 0.141 277.5);
Tailwind
colors: {
  custom: {
    50: '#7266a9',
    500: '#2f2d84',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d84;
$custom-light: #7266a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d84",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 241.379,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3581,
    "c": 0.14139,
    "h": 277.5
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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