#2F2E82#2F2E82

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

Color values

HEX#2F2E82
RGBrgb(47, 46, 130)
HSLhsl(241, 48%, 35%)
HSVhsv(241, 65%, 51%)
CMYKcmyk(63.8%, 64.6%, 0%, 49%)
CIE-LABlab(24.22, 27.65, -47.28)
CIE-LCHlch(24.22, 54.77, 300.32°)
OKLaboklab(35.81% 0.0178 -0.1361)
OKLCHoklch(35.81% 0.137 277.4)
XYZxyz(6.1772, 4.1696, 21.5940)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E82 #81822E
analogous
#2E5782 #2F2E82 #592E82
triadic
#2F2E82 #822F2E #2E822F
tetradic
#2F2E82 #822E57 #81822E #2E8259
square
#2F2E82 #822E57 #81822E #2E8259
split-complementary
#2F2E82 #82592E #57822E
monochromatic
#0E0E28 #1F1E55 #2F2E82 #3F3EAF #6463C8

Accessibility & contrast

On white

11.45
#2F2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E82
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E82#FFFFFF#000000##FFFFFF
##2F2E821.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2e82;
/* rgb */ color: rgb(47, 46, 130);
/* oklch */ color: oklch(35.8% 0.137 277.4);
Tailwind
colors: {
  custom: {
    50: '#7267a7',
    500: '#2f2e82',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e82;
$custom-light: #7267a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e82",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 240.714,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3581,
    "c": 0.13728,
    "h": 277.4
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#2F2E82
secondary
#ADAE5D
accent
#D750D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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