#2F2E89#2F2E89

#2F2E89 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.147 H 276.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2F2E89
RGBrgb(47, 46, 137)
HSLhsl(241, 50%, 36%)
HSVhsv(241, 66%, 54%)
CMYKcmyk(65.7%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.84, 30.13, -50.66)
CIE-LCHlch(24.84, 58.94, 300.75°)
OKLaboklab(36.45% 0.0172 -0.146)
OKLCHoklch(36.45% 0.147 276.7)
XYZxyz(6.6632, 4.3639, 24.1532)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E89 #88892E
analogous
#2E5A89 #2F2E89 #5C2E89
triadic
#2F2E89 #892F2E #2E892F
tetradic
#2F2E89 #892E5A #88892E #2E895C
square
#2F2E89 #892E5A #88892E #2E895C
split-complementary
#2F2E89 #895C2E #5A892E
monochromatic
#100F2D #1F1F5B #2F2E89 #3F3DB7 #6766CC

Accessibility & contrast

On white

11.21
#2F2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E89
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E89#FFFFFF#000000##FFFFFF
##2F2E891.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2e89;
/* rgb */ color: rgb(47, 46, 137);
/* oklch */ color: oklch(36.5% 0.147 276.7);
Tailwind
colors: {
  custom: {
    50: '#7367ac',
    500: '#2f2e89',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e89;
$custom-light: #7367ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e89",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 240.659,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36451,
    "c": 0.14704,
    "h": 276.7
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#2F2E89
secondary
#B1B260
accent
#D94FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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