#2F2A67#2F2A67

#2F2A67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.103 H 282.8°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#2F2A67
RGBrgb(47, 42, 103)
HSLhsl(245, 42%, 28%)
HSVhsv(245, 59%, 40%)
CMYKcmyk(54.4%, 59.2%, 0%, 59.6%)
CIE-LABlab(20.98, 20.79, -35.28)
CIE-LCHlch(20.98, 40.95, 300.51°)
OKLaboklab(32.72% 0.0229 -0.1009)
OKLCHoklch(32.72% 0.103 282.8)
XYZxyz(4.4477, 3.2393, 13.2202)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A67 #62672A
analogous
#2A4367 #2F2A67 #4D2A67
triadic
#2F2A67 #672F2A #2A672F
tetradic
#2F2A67 #672A43 #62672A #2A674D
square
#2F2A67 #672A43 #62672A #2A674D
split-complementary
#2F2A67 #674D2A #43672A
monochromatic
#0A0916 #1B183C #2F2A67 #433C92 #5B53B9

Accessibility & contrast

On white

12.74
#2F2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A67
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A67#FFFFFF#000000##FFFFFF
##2F2A671.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033469
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#193844
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f2a67;
/* rgb */ color: rgb(47, 42, 103);
/* oklch */ color: oklch(32.7% 0.103 282.8);
Tailwind
colors: {
  custom: {
    50: '#6d6393',
    500: '#2f2a67',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a67;
$custom-light: #6d6393;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a67",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 244.918,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32723,
    "c": 0.10343,
    "h": 282.8
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#2F2A67
secondary
#949954
accent
#D256C8
background
#F6F5F9
surface
#ECEAF1
border
#C7C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2F2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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