#2F2E85#2F2E85

#2F2E85 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.141 H 277.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2F2E85
RGBrgb(47, 46, 133)
HSLhsl(241, 49%, 35%)
HSVhsv(241, 65%, 52%)
CMYKcmyk(64.7%, 65.4%, 0%, 47.8%)
CIE-LABlab(24.49, 28.71, -48.74)
CIE-LCHlch(24.49, 56.57, 300.51°)
OKLaboklab(36.08% 0.0176 -0.1404)
OKLCHoklch(36.08% 0.141 277.1)
XYZxyz(6.3816, 4.2513, 22.6700)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E85 #84852E
analogous
#2E5885 #2F2E85 #5B2E85
triadic
#2F2E85 #852F2E #2E852F
tetradic
#2F2E85 #852E58 #84852E #2E855B
square
#2F2E85 #852E58 #84852E #2E855B
split-complementary
#2F2E85 #855B2E #58852E
monochromatic
#0F0F2A #1F1E58 #2F2E85 #3F3EB2 #6564C9

Accessibility & contrast

On white

11.35
#2F2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2F2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E85
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E85#FFFFFF#000000##FFFFFF
##2F2E851.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2e85;
/* rgb */ color: rgb(47, 46, 133);
/* oklch */ color: oklch(36.1% 0.141 277.1);
Tailwind
colors: {
  custom: {
    50: '#7267a9',
    500: '#2f2e85',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e85;
$custom-light: #7267a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e85",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 240.69,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.14149,
    "h": 277.1
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#2F2E85
secondary
#AFB05F
accent
#D850D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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