#2F2964#2F2964

#2F2964 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.100 H 283.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2F2964
RGBrgb(47, 41, 100)
HSLhsl(246, 42%, 28%)
HSVhsv(246, 59%, 39%)
CMYKcmyk(53%, 59%, 0%, 60.8%)
CIE-LABlab(20.48, 20.43, -34.12)
CIE-LCHlch(20.48, 39.78, 300.91°)
OKLaboklab(32.28% 0.024 -0.0975)
OKLCHoklch(32.28% 0.1 283.8)
XYZxyz(4.2648, 3.1101, 12.4297)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2964 #5E6429
analogous
#294064 #2F2964 #4D2964
triadic
#2F2964 #642F29 #29642F
tetradic
#2F2964 #642940 #5E6429 #29644D
square
#2F2964 #642940 #5E6429 #29644D
split-complementary
#2F2964 #644D29 #406429
monochromatic
#0A0916 #1B1739 #2F2964 #433B8F #5B50B7

Accessibility & contrast

On white

12.95
#2F2964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2F2964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2964
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2964#FFFFFF#000000##FFFFFF
##2F29641.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053366
Deuteranopia (green-blind)
#022F63
Tritanopia (blue-blind)
#1B3642
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2964;
/* rgb */ color: rgb(47, 41, 100);
/* oklch */ color: oklch(32.3% 0.100 283.8);
Tailwind
colors: {
  custom: {
    50: '#6c6391',
    500: '#2f2964',
    950: '#000000',
  },
}
SCSS
$custom: #2f2964;
$custom-light: #6c6391;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2964",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 246.102,
    "s": 41.844,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32281,
    "c": 0.10039,
    "h": 283.8
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#2F2964
secondary
#909652
accent
#D256C5
background
#F6F5F8
surface
#ECEAF0
border
#C7C6CB
text
#07050D
muted
#7A797D

Preview Lab

Preview with #2F2964

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

Preview Lab → · Contrast checker → · Palette generator →

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