#2F2B84#2F2B84

#2F2B84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.144 H 278.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2F2B84
RGBrgb(47, 43, 132)
HSLhsl(243, 51%, 34%)
HSVhsv(243, 67%, 52%)
CMYKcmyk(64.4%, 67.4%, 0%, 48.2%)
CIE-LABlab(23.66, 30.31, -49.45)
CIE-LCHlch(23.66, 58.00, 301.50°)
OKLaboklab(35.46% 0.0203 -0.1425)
OKLCHoklch(35.46% 0.144 278.1)
XYZxyz(6.1997, 3.9975, 22.2702)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B84 #80842B
analogous
#2B5484 #2F2B84 #5C2B84
triadic
#2F2B84 #842F2B #2B842F
tetradic
#2F2B84 #842B54 #80842B #2B845C
square
#2F2B84 #842B54 #80842B #2B845C
split-complementary
#2F2B84 #845C2B #54842B
monochromatic
#0E0D28 #1F1C56 #2F2B84 #3F3AB2 #645FCB

Accessibility & contrast

On white

11.67
#2F2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2F2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B84
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B84#FFFFFF#000000##FFFFFF
##2F2B841.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f2b84;
/* rgb */ color: rgb(47, 43, 132);
/* oklch */ color: oklch(35.5% 0.144 278.1);
Tailwind
colors: {
  custom: {
    50: '#7265a9',
    500: '#2f2b84',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b84;
$custom-light: #7265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b84",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 242.697,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35456,
    "c": 0.14395,
    "h": 278.1
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#2F2B84
secondary
#ADB15A
accent
#DA4DD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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