#2F2767#2F2767

#2F2767 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.1% C 0.108 H 284.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#2F2767
RGBrgb(47, 39, 103)
HSLhsl(248, 45%, 28%)
HSVhsv(248, 62%, 40%)
CMYKcmyk(54.4%, 62.1%, 0%, 59.6%)
CIE-LABlab(20.18, 22.83, -36.57)
CIE-LCHlch(20.18, 43.11, 301.98°)
OKLaboklab(32.13% 0.0265 -0.1047)
OKLCHoklch(32.13% 0.108 284.2)
XYZxyz(4.3453, 3.0344, 13.1861)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2767 #5F6727
analogous
#273F67 #2F2767 #4F2767
triadic
#2F2767 #672F27 #27672F
tetradic
#2F2767 #67273F #5F6727 #27674F
square
#2F2767 #67273F #5F6727 #27674F
split-complementary
#2F2767 #674F27 #3F6727
monochromatic
#0A0816 #1B163B #2F2767 #433893 #5B4DBC

Accessibility & contrast

On white

13.07
#2F2767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2F2767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2767
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2767#FFFFFF#000000##FFFFFF
##2F27671.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#193643
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2767;
/* rgb */ color: rgb(47, 39, 103);
/* oklch */ color: oklch(32.1% 0.108 284.2);
Tailwind
colors: {
  custom: {
    50: '#6d6193',
    500: '#2f2767',
    950: '#000000',
  },
}
SCSS
$custom: #2f2767;
$custom-light: #6d6193;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2767",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 247.5,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32134,
    "c": 0.10797,
    "h": 284.2
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#2F2767
secondary
#919A50
accent
#D553C5
background
#F6F5F9
surface
#ECEAF1
border
#C7C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2F2767

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

Preview Lab → · Contrast checker → · Palette generator →

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