#2F2E76#2F2E76

#2F2E76 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.120 H 278.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2F2E76
RGBrgb(47, 46, 118)
HSLhsl(241, 44%, 32%)
HSVhsv(241, 61%, 46%)
CMYKcmyk(60.2%, 61%, 0%, 53.7%)
CIE-LABlab(23.22, 23.37, -41.31)
CIE-LCHlch(23.22, 47.46, 299.49°)
OKLaboklab(34.76% 0.0183 -0.1186)
OKLCHoklch(34.76% 0.12 278.8)
XYZxyz(5.4183, 3.8660, 17.5967)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E76 #75762E
analogous
#2E5176 #2F2E76 #532E76
triadic
#2F2E76 #762F2E #2E762F
tetradic
#2F2E76 #762E51 #75762E #2E7653
square
#2F2E76 #762E51 #75762E #2E7653
split-complementary
#2F2E76 #76532E #51762E
monochromatic
#0C0C1E #1D1D4A #2F2E76 #413FA2 #5F5EC0

Accessibility & contrast

On white

11.84
#2F2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F2E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E76
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E76#FFFFFF#000000##FFFFFF
##2F2E761.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#043F4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2e76;
/* rgb */ color: rgb(47, 46, 118);
/* oklch */ color: oklch(34.8% 0.120 278.8);
Tailwind
colors: {
  custom: {
    50: '#6f669e',
    500: '#2f2e76',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e76;
$custom-light: #6f669e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e76",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 240.833,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3476,
    "c": 0.11998,
    "h": 278.8
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#2F2E76
secondary
#A6A759
accent
#D454D2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2F2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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