#2F2E83#2F2E83

#2F2E83 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.139 H 277.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2F2E83
RGBrgb(47, 46, 131)
HSLhsl(241, 48%, 35%)
HSVhsv(241, 65%, 51%)
CMYKcmyk(64.1%, 64.9%, 0%, 48.6%)
CIE-LABlab(24.31, 28.00, -47.77)
CIE-LCHlch(24.31, 55.37, 300.38°)
OKLaboklab(35.9% 0.0177 -0.1375)
OKLCHoklch(35.9% 0.139 277.3)
XYZxyz(6.2447, 4.1965, 21.9493)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E83 #82832E
analogous
#2E5883 #2F2E83 #5A2E83
triadic
#2F2E83 #832F2E #2E832F
tetradic
#2F2E83 #832E58 #82832E #2E835A
square
#2F2E83 #832E58 #82832E #2E835A
split-complementary
#2F2E83 #835A2E #58832E
monochromatic
#0E0E28 #1F1E56 #2F2E83 #3F3EB0 #6463C8

Accessibility & contrast

On white

11.42
#2F2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E83
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E83#FFFFFF#000000##FFFFFF
##2F2E831.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2e83;
/* rgb */ color: rgb(47, 46, 131);
/* oklch */ color: oklch(35.9% 0.139 277.3);
Tailwind
colors: {
  custom: {
    50: '#7267a8',
    500: '#2f2e83',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e83;
$custom-light: #7267a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e83",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 240.706,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35901,
    "c": 0.13868,
    "h": 277.3
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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