#2F2F67#2F2F67

#2F2F67 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.096 H 280.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#2F2F67
RGBrgb(47, 47, 103)
HSLhsl(240, 37%, 29%)
HSVhsv(240, 54%, 40%)
CMYKcmyk(54.4%, 54.4%, 0%, 59.6%)
CIE-LABlab(22.36, 17.34, -33.05)
CIE-LCHlch(22.36, 37.33, 297.68°)
OKLaboklab(33.76% 0.0166 -0.0943)
OKLCHoklch(33.76% 0.096 280)
XYZxyz(4.6362, 3.6164, 13.2831)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F67 #67672F
analogous
#2F4B67 #2F2F67 #4B2F67
triadic
#2F2F67 #672F2F #2F672F
tetradic
#2F2F67 #672F4B #67672F #2F674B
square
#2F2F67 #672F4B #67672F #2F674B
split-complementary
#2F2F67 #674B2F #4B672F
monochromatic
#0A0A15 #1C1C3D #2F2F67 #424291 #5C5CB5

Accessibility & contrast

On white

12.19
#2F2F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2F2F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F67
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F67#FFFFFF#000000##FFFFFF
##2F2F671.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133869
Deuteranopia (green-blind)
#0D3366
Tritanopia (blue-blind)
#183B46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f2f67;
/* rgb */ color: rgb(47, 47, 103);
/* oklch */ color: oklch(33.8% 0.096 280.0);
Tailwind
colors: {
  custom: {
    50: '#6c6793',
    500: '#2f2f67',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f67;
$custom-light: #6c6793;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f67",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 240,
    "s": 37.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33755,
    "c": 0.09573,
    "h": 280
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#2F2F67
secondary
#989859
accent
#CD5ACD
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F2F67

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

Preview Lab → · Contrast checker → · Palette generator →

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