#2F2E84#2F2E84

#2F2E84 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.140 H 277.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2F2E84
RGBrgb(47, 46, 132)
HSLhsl(241, 48%, 35%)
HSVhsv(241, 65%, 52%)
CMYKcmyk(64.4%, 65.2%, 0%, 48.2%)
CIE-LABlab(24.40, 28.36, -48.25)
CIE-LCHlch(24.40, 55.97, 300.44°)
OKLaboklab(35.99% 0.0176 -0.139)
OKLCHoklch(35.99% 0.14 277.2)
XYZxyz(6.3128, 4.2238, 22.3079)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E84 #83842E
analogous
#2E5884 #2F2E84 #5A2E84
triadic
#2F2E84 #842F2E #2E842F
tetradic
#2F2E84 #842E58 #83842E #2E845A
square
#2F2E84 #842E58 #83842E #2E845A
split-complementary
#2F2E84 #845A2E #58842E
monochromatic
#0F0E29 #1F1E57 #2F2E84 #3F3EB1 #6564C9

Accessibility & contrast

On white

11.38
#2F2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E84
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E84#FFFFFF#000000##FFFFFF
##2F2E841.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2e84;
/* rgb */ color: rgb(47, 46, 132);
/* oklch */ color: oklch(36.0% 0.140 277.2);
Tailwind
colors: {
  custom: {
    50: '#7267a9',
    500: '#2f2e84',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e84;
$custom-light: #7267a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e84",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 240.698,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35991,
    "c": 0.14009,
    "h": 277.2
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#2F2E84
secondary
#AFB05E
accent
#D850D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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