#2F2085#2F2085

#2F2085 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.158 H 280.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#2F2085
RGBrgb(47, 32, 133)
HSLhsl(249, 61%, 32%)
HSVhsv(249, 76%, 52%)
CMYKcmyk(64.7%, 75.9%, 0%, 47.8%)
CIE-LABlab(21.32, 37.34, -53.92)
CIE-LCHlch(21.32, 65.59, 304.70°)
OKLaboklab(33.81% 0.0289 -0.1556)
OKLCHoklch(33.81% 0.158 280.5)
XYZxyz(5.9211, 3.3304, 22.5166)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2085 #768520
analogous
#204385 #2F2085 #622085
triadic
#2F2085 #852F20 #20852F
tetradic
#2F2085 #852043 #768520 #208562
square
#2F2085 #852043 #768520 #208562
split-complementary
#2F2085 #856220 #438520
monochromatic
#0C0822 #1E1454 #2F2085 #402CB6 #604CD4

Accessibility & contrast

On white

12.60
#2F2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2085
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2085#FFFFFF#000000##FFFFFF
##2F20851.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f2085;
/* rgb */ color: rgb(47, 32, 133);
/* oklch */ color: oklch(33.8% 0.158 280.5);
Tailwind
colors: {
  custom: {
    50: '#735eaa',
    500: '#2f2085',
    950: '#000000',
  },
}
SCSS
$custom: #2f2085;
$custom-light: #735eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2085",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 248.911,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33806,
    "c": 0.15823,
    "h": 280.5
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#2F2085
secondary
#A7B74A
accent
#E443CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2F2085

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

Preview Lab → · Contrast checker → · Palette generator →

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