#2F2B86#2F2B86

#2F2B86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.147 H 277.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2F2B86
RGBrgb(47, 43, 134)
HSLhsl(243, 51%, 35%)
HSVhsv(243, 68%, 53%)
CMYKcmyk(64.9%, 67.9%, 0%, 47.5%)
CIE-LABlab(23.85, 31.01, -50.41)
CIE-LCHlch(23.85, 59.18, 301.60°)
OKLaboklab(35.64% 0.0201 -0.1453)
OKLCHoklch(35.64% 0.147 277.9)
XYZxyz(6.3379, 4.0528, 22.9979)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B86 #82862B
analogous
#2B5586 #2F2B86 #5C2B86
triadic
#2F2B86 #862F2B #2B862F
tetradic
#2F2B86 #862B55 #82862B #2B865C
square
#2F2B86 #862B55 #82862B #2B865C
split-complementary
#2F2B86 #865C2B #55862B
monochromatic
#0E0D29 #1F1C58 #2F2B86 #3F3AB4 #6460CC

Accessibility & contrast

On white

11.60
#2F2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2F2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B86
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B86#FFFFFF#000000##FFFFFF
##2F2B861.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2b86;
/* rgb */ color: rgb(47, 43, 134);
/* oklch */ color: oklch(35.6% 0.147 277.9);
Tailwind
colors: {
  custom: {
    50: '#7365aa',
    500: '#2f2b86',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b86;
$custom-light: #7365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b86",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 242.637,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35644,
    "c": 0.14669,
    "h": 277.9
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#2F2B86
secondary
#AEB25B
accent
#DB4DD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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