#2F2F6F#2F2F6F

#2F2F6F is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.108 H 279.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2F2F6F
RGBrgb(47, 47, 111)
HSLhsl(240, 41%, 31%)
HSVhsv(240, 58%, 44%)
CMYKcmyk(57.7%, 57.7%, 0%, 56.5%)
CIE-LABlab(22.95, 20.18, -37.28)
CIE-LCHlch(22.95, 42.39, 298.43°)
OKLaboklab(34.38% 0.0171 -0.1067)
OKLCHoklch(34.38% 0.108 279.1)
XYZxyz(5.0571, 3.7847, 15.4999)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F6F #6F6F2F
analogous
#2F4F6F #2F2F6F #4F2F6F
triadic
#2F2F6F #6F2F2F #2F6F2F
tetradic
#2F2F6F #6F2F4F #6F6F2F #2F6F4F
square
#2F2F6F #6F2F4F #6F6F2F #2F6F4F
split-complementary
#2F2F6F #6F4F2F #4F6F2F
monochromatic
#0B0B19 #1D1D44 #2F2F6F #41419A #5E5EBB

Accessibility & contrast

On white

11.95
#2F2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2F2F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F6F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F6F#FFFFFF#000000##FFFFFF
##2F2F6F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063971
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#103E4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2f6f;
/* rgb */ color: rgb(47, 47, 111);
/* oklch */ color: oklch(34.4% 0.108 279.1);
Tailwind
colors: {
  custom: {
    50: '#6e6799',
    500: '#2f2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f6f;
$custom-light: #6e6799;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f6f",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34381,
    "c": 0.10807,
    "h": 279.1
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#2F2F6F
secondary
#A0A059
accent
#D057D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2F2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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