#2F2E86#2F2E86

#2F2E86 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.143 H 277.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2F2E86
RGBrgb(47, 46, 134)
HSLhsl(241, 49%, 35%)
HSVhsv(241, 66%, 53%)
CMYKcmyk(64.9%, 65.7%, 0%, 47.5%)
CIE-LABlab(24.57, 29.07, -49.22)
CIE-LCHlch(24.57, 57.16, 300.57°)
OKLaboklab(36.17% 0.0175 -0.1418)
OKLCHoklch(36.17% 0.143 277)
XYZxyz(6.4510, 4.2790, 23.0356)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E86 #85862E
analogous
#2E5986 #2F2E86 #5B2E86
triadic
#2F2E86 #862F2E #2E862F
tetradic
#2F2E86 #862E59 #85862E #2E865B
square
#2F2E86 #862E59 #85862E #2E865B
split-complementary
#2F2E86 #865B2E #59862E
monochromatic
#0F0F2B #1F1E58 #2F2E86 #3F3EB4 #6664CA

Accessibility & contrast

On white

11.31
#2F2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E86
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E86#FFFFFF#000000##FFFFFF
##2F2E861.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2e86;
/* rgb */ color: rgb(47, 46, 134);
/* oklch */ color: oklch(36.2% 0.143 277.0);
Tailwind
colors: {
  custom: {
    50: '#7267aa',
    500: '#2f2e86',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e86;
$custom-light: #7267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e86",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 240.682,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36174,
    "c": 0.14288,
    "h": 277
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#2F2E86
secondary
#B0B15F
accent
#D84FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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