#2F2E94#2F2E94

#2F2E94 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.162 H 275.7°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2F2E94
RGBrgb(47, 46, 148)
HSLhsl(241, 53%, 38%)
HSVhsv(241, 69%, 58%)
CMYKcmyk(68.2%, 68.9%, 0%, 42%)
CIE-LABlab(25.85, 34.00, -55.81)
CIE-LCHlch(25.85, 65.36, 301.35°)
OKLaboklab(37.49% 0.016 -0.1611)
OKLCHoklch(37.49% 0.162 275.7)
XYZxyz(7.4928, 4.6958, 28.5227)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E94 #93942E
analogous
#2E6094 #2F2E94 #622E94
triadic
#2F2E94 #942F2E #2E942F
tetradic
#2F2E94 #942E60 #93942E #2E9462
square
#2F2E94 #942E60 #93942E #2E9462
split-complementary
#2F2E94 #94622E #60942E
monochromatic
#111137 #201F65 #2F2E94 #3E3DC3 #6C6BD1

Accessibility & contrast

On white

10.83
#2F2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2F2E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E94
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E94#FFFFFF#000000##FFFFFF
##2F2E941.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f2e94;
/* rgb */ color: rgb(47, 46, 148);
/* oklch */ color: oklch(37.5% 0.162 275.7);
Tailwind
colors: {
  custom: {
    50: '#7567b4',
    500: '#2f2e94',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e94;
$custom-light: #7567b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e94",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 240.588,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37495,
    "c": 0.16194,
    "h": 275.7
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2E94

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

Preview Lab → · Contrast checker → · Palette generator →

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