#2F2E80#2F2E80

#2F2E80 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.134 H 277.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2F2E80
RGBrgb(47, 46, 128)
HSLhsl(241, 47%, 34%)
HSVhsv(241, 64%, 50%)
CMYKcmyk(63.3%, 64.1%, 0%, 49.8%)
CIE-LABlab(24.05, 26.93, -46.30)
CIE-LCHlch(24.05, 53.57, 300.19°)
OKLaboklab(35.63% 0.0179 -0.1332)
OKLCHoklch(35.63% 0.134 277.7)
XYZxyz(6.0443, 4.1164, 20.8939)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E80 #7F802E
analogous
#2E5680 #2F2E80 #582E80
triadic
#2F2E80 #802F2E #2E802F
tetradic
#2F2E80 #802E56 #7F802E #2E8058
square
#2F2E80 #802E56 #7F802E #2E8058
split-complementary
#2F2E80 #80582E #56802E
monochromatic
#0E0E26 #1E1E53 #2F2E80 #403EAD #6362C7

Accessibility & contrast

On white

11.52
#2F2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E80
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E80#FFFFFF#000000##FFFFFF
##2F2E801.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2e80;
/* rgb */ color: rgb(47, 46, 128);
/* oklch */ color: oklch(35.6% 0.134 277.7);
Tailwind
colors: {
  custom: {
    50: '#7167a6',
    500: '#2f2e80',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e80;
$custom-light: #7167a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e80",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 240.732,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35631,
    "c": 0.13445,
    "h": 277.7
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#2F2E80
secondary
#ACAD5D
accent
#D751D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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