#2F2F69#2F2F69

#2F2F69 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.099 H 279.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2F2F69
RGBrgb(47, 47, 105)
HSLhsl(240, 38%, 30%)
HSVhsv(240, 55%, 41%)
CMYKcmyk(55.2%, 55.2%, 0%, 58.8%)
CIE-LABlab(22.50, 18.05, -34.12)
CIE-LCHlch(22.50, 38.60, 297.88°)
OKLaboklab(33.91% 0.0167 -0.0974)
OKLCHoklch(33.91% 0.099 279.7)
XYZxyz(4.7378, 3.6570, 13.8181)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F69 #69692F
analogous
#2F4C69 #2F2F69 #4C2F69
triadic
#2F2F69 #692F2F #2F692F
tetradic
#2F2F69 #692F4C #69692F #2F694C
square
#2F2F69 #692F4C #69692F #2F694C
split-complementary
#2F2F69 #694C2F #4C692F
monochromatic
#090915 #1C1C3F #2F2F69 #424293 #5C5CB6

Accessibility & contrast

On white

12.13
#2F2F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2F69
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F69#FFFFFF#000000##FFFFFF
##2F2F691.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10386B
Deuteranopia (green-blind)
#093468
Tritanopia (blue-blind)
#163C47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2f69;
/* rgb */ color: rgb(47, 47, 105);
/* oklch */ color: oklch(33.9% 0.099 279.7);
Tailwind
colors: {
  custom: {
    50: '#6d6794',
    500: '#2f2f69',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f69;
$custom-light: #6d6794;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f69",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 240,
    "s": 38.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33909,
    "c": 0.09885,
    "h": 279.7
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#2F2F69
secondary
#9A9A59
accent
#CE5ACE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F2F69

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

Preview Lab → · Contrast checker → · Palette generator →

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