#2F2C85#2F2C85

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

Color values

HEX#2F2C85
RGBrgb(47, 44, 133)
HSLhsl(242, 50%, 35%)
HSVhsv(242, 67%, 52%)
CMYKcmyk(64.7%, 66.9%, 0%, 47.8%)
CIE-LABlab(24.00, 30.01, -49.54)
CIE-LCHlch(24.00, 57.92, 301.21°)
OKLaboklab(35.73% 0.0193 -0.1428)
OKLCHoklch(35.73% 0.144 277.7)
XYZxyz(6.3052, 4.0987, 22.6446)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C85 #82852C
analogous
#2C5685 #2F2C85 #5B2C85
triadic
#2F2C85 #852F2C #2C852F
tetradic
#2F2C85 #852C56 #82852C #2C855B
square
#2F2C85 #852C56 #82852C #2C855B
split-complementary
#2F2C85 #855B2C #56852C
monochromatic
#0E0E29 #1F1D57 #2F2C85 #3F3BB3 #6461CB

Accessibility & contrast

On white

11.54
#2F2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2C85
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C85#FFFFFF#000000##FFFFFF
##2F2C851.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2c85;
/* rgb */ color: rgb(47, 44, 133);
/* oklch */ color: oklch(35.7% 0.144 277.7);
Tailwind
colors: {
  custom: {
    50: '#7265a9',
    500: '#2f2c85',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c85;
$custom-light: #7265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c85",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 242.022,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35725,
    "c": 0.14406,
    "h": 277.7
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#2F2C85
secondary
#AEB15C
accent
#DA4ED5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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