#2F2376#2F2376

#2F2376 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.135 H 282.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#2F2376
RGBrgb(47, 35, 118)
HSLhsl(249, 54%, 30%)
HSVhsv(249, 70%, 46%)
CMYKcmyk(60.2%, 70.3%, 0%, 53.7%)
CIE-LABlab(20.50, 30.57, -45.76)
CIE-LCHlch(20.50, 55.03, 303.74°)
OKLaboklab(32.77% 0.0294 -0.1317)
OKLCHoklch(32.77% 0.135 282.6)
XYZxyz(5.0423, 3.1141, 17.4714)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2376 #6A7623
analogous
#234076 #2F2376 #592376
triadic
#2F2376 #762F23 #23762F
tetradic
#2F2376 #762340 #6A7623 #237659
square
#2F2376 #762340 #6A7623 #237659
split-complementary
#2F2376 #765923 #407623
monochromatic
#090718 #1C1547 #2F2376 #4231A5 #5C4AC9

Accessibility & contrast

On white

12.94
#2F2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2F2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2376
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2376#FFFFFF#000000##FFFFFF
##2F23761.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#073849
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2376;
/* rgb */ color: rgb(47, 35, 118);
/* oklch */ color: oklch(32.8% 0.135 282.6);
Tailwind
colors: {
  custom: {
    50: '#705f9e',
    500: '#2f2376',
    950: '#000000',
  },
}
SCSS
$custom: #2f2376;
$custom-light: #705f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2376",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 248.675,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.32768,
    "c": 0.13493,
    "h": 282.6
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#2F2376
secondary
#9BA94C
accent
#DE4AC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2F2376

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

Preview Lab → · Contrast checker → · Palette generator →

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