#2F2C83#2F2C83

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

Color values

HEX#2F2C83
RGBrgb(47, 44, 131)
HSLhsl(242, 50%, 34%)
HSVhsv(242, 66%, 51%)
CMYKcmyk(64.1%, 66.4%, 0%, 48.6%)
CIE-LABlab(23.82, 29.31, -48.58)
CIE-LCHlch(23.82, 56.73, 301.11°)
OKLaboklab(35.54% 0.0195 -0.1399)
OKLCHoklch(35.54% 0.141 277.9)
XYZxyz(6.1684, 4.0439, 21.9238)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C83 #80832C
analogous
#2C5583 #2F2C83 #5B2C83
triadic
#2F2C83 #832F2C #2C832F
tetradic
#2F2C83 #832C55 #80832C #2C835B
square
#2F2C83 #832C55 #80832C #2C835B
split-complementary
#2F2C83 #835B2C #55832C
monochromatic
#0E0D27 #1F1D55 #2F2C83 #3F3BB1 #6360CA

Accessibility & contrast

On white

11.61
#2F2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2C83
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C83#FFFFFF#000000##FFFFFF
##2F2C831.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2c83;
/* rgb */ color: rgb(47, 44, 131);
/* oklch */ color: oklch(35.5% 0.141 277.9);
Tailwind
colors: {
  custom: {
    50: '#7265a8',
    500: '#2f2c83',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c83;
$custom-light: #7265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c83",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 242.069,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35539,
    "c": 0.14128,
    "h": 277.9
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#2F2C83
secondary
#ADB05B
accent
#D94FD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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