#2F2A86#2F2A86

#2F2A86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.148 H 278.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2F2A86
RGBrgb(47, 42, 134)
HSLhsl(243, 52%, 35%)
HSVhsv(243, 69%, 53%)
CMYKcmyk(64.9%, 68.7%, 0%, 47.5%)
CIE-LABlab(23.61, 31.64, -50.80)
CIE-LCHlch(23.61, 59.85, 301.92°)
OKLaboklab(35.47% 0.0209 -0.1464)
OKLCHoklch(35.47% 0.148 278.1)
XYZxyz(6.3019, 3.9810, 22.9859)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A86 #81862A
analogous
#2A5386 #2F2A86 #5D2A86
triadic
#2F2A86 #862F2A #2A862F
tetradic
#2F2A86 #862A53 #81862A #2A865D
square
#2F2A86 #862A53 #81862A #2A865D
split-complementary
#2F2A86 #865D2A #53862A
monochromatic
#0E0D29 #1F1B57 #2F2A86 #3F39B5 #645ECD

Accessibility & contrast

On white

11.69
#2F2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2F2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A86
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A86#FFFFFF#000000##FFFFFF
##2F2A861.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f2a86;
/* rgb */ color: rgb(47, 42, 134);
/* oklch */ color: oklch(35.5% 0.148 278.1);
Tailwind
colors: {
  custom: {
    50: '#7364aa',
    500: '#2f2a86',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a86;
$custom-light: #7364aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a86",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 243.261,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35473,
    "c": 0.14794,
    "h": 278.1
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#2F2A86
secondary
#ADB25A
accent
#DC4CD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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