#2F2D70#2F2D70

#2F2D70 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.113 H 279.9°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#2F2D70
RGBrgb(47, 45, 112)
HSLhsl(242, 43%, 31%)
HSVhsv(242, 60%, 44%)
CMYKcmyk(58%, 59.8%, 0%, 56.1%)
CIE-LABlab(22.48, 21.91, -38.68)
CIE-LCHlch(22.48, 44.45, 299.53°)
OKLaboklab(34.06% 0.0194 -0.1108)
OKLCHoklch(34.06% 0.113 279.9)
XYZxyz(5.0344, 3.6506, 15.7655)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D70 #6E702D
analogous
#2D4C70 #2F2D70 #502D70
triadic
#2F2D70 #702F2D #2D702F
tetradic
#2F2D70 #702D4C #6E702D #2D7050
square
#2F2D70 #702D4C #6E702D #2D7050
split-complementary
#2F2D70 #70502D #4C702D
monochromatic
#0A0A19 #1D1B44 #2F2D70 #413F9C #5D5ABD

Accessibility & contrast

On white

12.14
#2F2D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D70
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D70#FFFFFF#000000##FFFFFF
##2F2D701.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#0F3D49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2d70;
/* rgb */ color: rgb(47, 45, 112);
/* oklch */ color: oklch(34.1% 0.113 279.9);
Tailwind
colors: {
  custom: {
    50: '#6e669a',
    500: '#2f2d70',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d70;
$custom-light: #6e669a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d70",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 241.791,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3406,
    "c": 0.11252,
    "h": 279.9
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#2F2D70
secondary
#9FA257
accent
#D255CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2F2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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