#2F2E8D#2F2E8D

#2F2E8D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.153 H 276.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2F2E8D
RGBrgb(47, 46, 141)
HSLhsl(241, 51%, 37%)
HSVhsv(241, 67%, 55%)
CMYKcmyk(66.7%, 67.4%, 0%, 44.7%)
CIE-LABlab(25.20, 31.55, -52.55)
CIE-LCHlch(25.20, 61.29, 300.98°)
OKLaboklab(36.83% 0.0168 -0.1516)
OKLCHoklch(36.83% 0.153 276.3)
XYZxyz(6.9554, 4.4808, 25.6925)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E8D #8C8D2E
analogous
#2E5D8D #2F2E8D #5F2E8D
triadic
#2F2E8D #8D2F2E #2E8D2F
tetradic
#2F2E8D #8D2E5D #8C8D2E #2E8D5F
square
#2F2E8D #8D2E5D #8C8D2E #2E8D5F
split-complementary
#2F2E8D #8D5F2E #5D8D2E
monochromatic
#101031 #201F5F #2F2E8D #3E3DBB #6968CE

Accessibility & contrast

On white

11.07
#2F2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E8D
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E8D#FFFFFF#000000##FFFFFF
##2F2E8D1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2e8d;
/* rgb */ color: rgb(47, 46, 141);
/* oklch */ color: oklch(36.8% 0.153 276.3);
Tailwind
colors: {
  custom: {
    50: '#7467af',
    500: '#2f2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e8d;
$custom-light: #7467af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e8d",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 240.632,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.15252,
    "h": 276.3
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#2F2E8D
secondary
#B4B562
accent
#DA4ED9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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