#2F2D69#2F2D69

#2F2D69 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.102 H 280.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2F2D69
RGBrgb(47, 45, 105)
HSLhsl(242, 40%, 29%)
HSVhsv(242, 57%, 41%)
CMYKcmyk(55.2%, 57.1%, 0%, 58.8%)
CIE-LABlab(21.95, 19.43, -35.02)
CIE-LCHlch(21.95, 40.05, 299.03°)
OKLaboklab(33.49% 0.0192 -0.1001)
OKLCHoklch(33.49% 0.102 280.9)
XYZxyz(4.6597, 3.5008, 13.7920)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D69 #67692D
analogous
#2D4969 #2F2D69 #4D2D69
triadic
#2F2D69 #692F2D #2D692F
tetradic
#2F2D69 #692D49 #67692D #2D694D
square
#2F2D69 #692D49 #67692D #2D694D
split-complementary
#2F2D69 #694D2D #49692D
monochromatic
#0A0915 #1C1B3E #2F2D69 #423F94 #5C59B8

Accessibility & contrast

On white

12.35
#2F2D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2F2D69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D69
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D69#FFFFFF#000000##FFFFFF
##2F2D691.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A376B
Deuteranopia (green-blind)
#033268
Tritanopia (blue-blind)
#173B46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f2d69;
/* rgb */ color: rgb(47, 45, 105);
/* oklch */ color: oklch(33.5% 0.102 280.9);
Tailwind
colors: {
  custom: {
    50: '#6d6694',
    500: '#2f2d69',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d69;
$custom-light: #6d6694;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d69",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 105
  },
  "hsl": {
    "h": 242,
    "s": 40,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33493,
    "c": 0.1019,
    "h": 280.9
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#2F2D69
secondary
#989B57
accent
#D058CC
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2F2D69

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

Preview Lab → · Contrast checker → · Palette generator →

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