#2F2E88#2F2E88

#2F2E88 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.146 H 276.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2F2E88
RGBrgb(47, 46, 136)
HSLhsl(241, 49%, 36%)
HSVhsv(241, 66%, 53%)
CMYKcmyk(65.4%, 66.2%, 0%, 46.7%)
CIE-LABlab(24.75, 29.78, -50.18)
CIE-LCHlch(24.75, 58.35, 300.69°)
OKLaboklab(36.36% 0.0173 -0.1446)
OKLCHoklch(36.36% 0.146 276.8)
XYZxyz(6.5918, 4.3354, 23.7772)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E88 #87882E
analogous
#2E5A88 #2F2E88 #5C2E88
triadic
#2F2E88 #882F2E #2E882F
tetradic
#2F2E88 #882E5A #87882E #2E885C
square
#2F2E88 #882E5A #87882E #2E885C
split-complementary
#2F2E88 #885C2E #5A882E
monochromatic
#0F0F2D #1F1F5A #2F2E88 #3F3DB6 #6665CB

Accessibility & contrast

On white

11.25
#2F2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E88
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E88#FFFFFF#000000##FFFFFF
##2F2E881.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2e88;
/* rgb */ color: rgb(47, 46, 136);
/* oklch */ color: oklch(36.4% 0.146 276.8);
Tailwind
colors: {
  custom: {
    50: '#7367ac',
    500: '#2f2e88',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e88;
$custom-light: #7367ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e88",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 240.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36358,
    "c": 0.14566,
    "h": 276.8
  },
  "luminance": 0.04336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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