#2F2E6D#2F2E6D

#2F2E6D is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.107 H 279.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#2F2E6D
RGBrgb(47, 46, 109)
HSLhsl(241, 41%, 30%)
HSVhsv(241, 58%, 43%)
CMYKcmyk(56.9%, 57.8%, 0%, 57.3%)
CIE-LABlab(22.52, 20.16, -36.68)
CIE-LCHlch(22.52, 41.85, 298.79°)
OKLaboklab(34.02% 0.0182 -0.1049)
OKLCHoklch(34.02% 0.107 279.8)
XYZxyz(4.9087, 3.6621, 14.9132)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E6D #6C6D2E
analogous
#2E4D6D #2F2E6D #4E2E6D
triadic
#2F2E6D #6D2F2E #2E6D2F
tetradic
#2F2E6D #6D2E4D #6C6D2E #2E6D4E
square
#2F2E6D #6D2E4D #6C6D2E #2E6D4E
split-complementary
#2F2E6D #6D4E2E #4D6D2E
monochromatic
#0A0A17 #1C1C42 #2F2E6D #424098 #5D5BBA

Accessibility & contrast

On white

12.12
#2F2E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F2E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E6D
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E6D#FFFFFF#000000##FFFFFF
##2F2E6D1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#123C48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2e6d;
/* rgb */ color: rgb(47, 46, 109);
/* oklch */ color: oklch(34.0% 0.107 279.8);
Tailwind
colors: {
  custom: {
    50: '#6d6697',
    500: '#2f2e6d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e6d;
$custom-light: #6d6697;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e6d",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 240.952,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34016,
    "c": 0.10651,
    "h": 279.8
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#2F2E6D
secondary
#9D9F58
accent
#D057CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F2E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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