#2F2B79#2F2B79

#2F2B79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.129 H 279.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2F2B79
RGBrgb(47, 43, 121)
HSLhsl(243, 48%, 32%)
HSVhsv(243, 64%, 47%)
CMYKcmyk(61.2%, 64.5%, 0%, 52.5%)
CIE-LABlab(22.70, 26.44, -44.08)
CIE-LCHlch(22.70, 51.40, 300.96°)
OKLaboklab(34.45% 0.0213 -0.1267)
OKLCHoklch(34.45% 0.129 279.5)
XYZxyz(5.4863, 3.7122, 18.5129)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B79 #75792B
analogous
#2B4E79 #2F2B79 #562B79
triadic
#2F2B79 #792F2B #2B792F
tetradic
#2F2B79 #792B4E #75792B #2B7956
square
#2F2B79 #792B4E #75792B #2B7956
split-complementary
#2F2B79 #79562B #4E792B
monochromatic
#0C0B1F #1D1B4C #2F2B79 #413BA6 #5F5AC4

Accessibility & contrast

On white

12.05
#2F2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2F2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B79
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B79#FFFFFF#000000##FFFFFF
##2F2B791.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2b79;
/* rgb */ color: rgb(47, 43, 121);
/* oklch */ color: oklch(34.4% 0.129 279.5);
Tailwind
colors: {
  custom: {
    50: '#7064a0',
    500: '#2f2b79',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b79;
$custom-light: #7064a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b79",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 243.077,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3445,
    "c": 0.12851,
    "h": 279.5
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#2F2B79
secondary
#A6AA56
accent
#D751D0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E

Preview Lab

Preview with #2F2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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