#2F2D83#2F2D83

#2F2D83 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.140 H 277.6°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2F2D83
RGBrgb(47, 45, 131)
HSLhsl(241, 49%, 35%)
HSVhsv(241, 66%, 51%)
CMYKcmyk(64.1%, 65.6%, 0%, 48.6%)
CIE-LABlab(24.06, 28.66, -48.17)
CIE-LCHlch(24.06, 56.05, 300.75°)
OKLaboklab(35.72% 0.0186 -0.1388)
OKLCHoklch(35.72% 0.14 277.6)
XYZxyz(6.2061, 4.1193, 21.9364)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D83 #81832D
analogous
#2D5683 #2F2D83 #5A2D83
triadic
#2F2D83 #832F2D #2D832F
tetradic
#2F2D83 #832D56 #81832D #2D835A
square
#2F2D83 #832D56 #81832D #2D835A
split-complementary
#2F2D83 #835A2D #56832D
monochromatic
#0E0E28 #1F1D55 #2F2D83 #3F3DB1 #6462C9

Accessibility & contrast

On white

11.51
#2F2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D83
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D83#FFFFFF#000000##FFFFFF
##2F2D831.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2d83;
/* rgb */ color: rgb(47, 45, 131);
/* oklch */ color: oklch(35.7% 0.140 277.6);
Tailwind
colors: {
  custom: {
    50: '#7266a8',
    500: '#2f2d83',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d83;
$custom-light: #7266a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d83",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 241.395,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35719,
    "c": 0.13999,
    "h": 277.6
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#2F2D83
secondary
#ADAF5C
accent
#D84FD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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