#2F2E95#2F2E95

#2F2E95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.163 H 275.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2F2E95
RGBrgb(47, 46, 149)
HSLhsl(241, 53%, 38%)
HSVhsv(241, 69%, 58%)
CMYKcmyk(68.5%, 69.1%, 0%, 41.6%)
CIE-LABlab(25.94, 34.35, -56.28)
CIE-LCHlch(25.94, 65.93, 301.40°)
OKLaboklab(37.59% 0.0159 -0.1625)
OKLCHoklch(37.59% 0.163 275.6)
XYZxyz(7.5723, 4.7276, 28.9414)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E95 #94952E
analogous
#2E6095 #2F2E95 #632E95
triadic
#2F2E95 #952F2E #2E952F
tetradic
#2F2E95 #952E60 #94952E #2E9563
square
#2F2E95 #952E60 #94952E #2E9563
split-complementary
#2F2E95 #95632E #60952E
monochromatic
#111137 #202066 #2F2E95 #3E3DC3 #6D6CD2

Accessibility & contrast

On white

10.79
#2F2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2F2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E95
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E95#FFFFFF#000000##FFFFFF
##2F2E951.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f2e95;
/* rgb */ color: rgb(47, 46, 149);
/* oklch */ color: oklch(37.6% 0.163 275.6);
Tailwind
colors: {
  custom: {
    50: '#7667b5',
    500: '#2f2e95',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e95;
$custom-light: #7667b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e95",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 240.583,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37592,
    "c": 0.16326,
    "h": 275.6
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#2F2E95
secondary
#B8B966
accent
#DC4CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2F2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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