#2F2E9F#2F2E9F

#2F2E9F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.176 H 274.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2F2E9F
RGBrgb(47, 46, 159)
HSLhsl(241, 55%, 40%)
HSVhsv(241, 71%, 62%)
CMYKcmyk(70.4%, 71.1%, 0%, 37.6%)
CIE-LABlab(26.91, 37.82, -60.81)
CIE-LCHlch(26.91, 71.61, 301.88°)
OKLaboklab(38.58% 0.0145 -0.1757)
OKLCHoklch(38.58% 0.176 274.7)
XYZxyz(8.4052, 5.0607, 33.3280)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E9F #9E9F2E
analogous
#2E659F #2F2E9F #672E9F
triadic
#2F2E9F #9F2F2E #2E9F2F
tetradic
#2F2E9F #9F2E65 #9E9F2E #2E9F67
square
#2F2E9F #9F2E65 #9E9F2E #2E9F67
split-complementary
#2F2E9F #9F672E #659F2E
monochromatic
#131340 #212070 #2F2E9F #4342C8 #7271D6

Accessibility & contrast

On white

10.44
#2F2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E9F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E9F#FFFFFF#000000##FFFFFF
##2F2E9F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f2e9f;
/* rgb */ color: rgb(47, 46, 159);
/* oklch */ color: oklch(38.6% 0.176 274.7);
Tailwind
colors: {
  custom: {
    50: '#7868bc',
    500: '#2f2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e9f;
$custom-light: #7868bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e9f",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 240.531,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38579,
    "c": 0.17634,
    "h": 274.7
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#2F2E9F
secondary
#BDBE6B
accent
#DE49DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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