#2F2B60#2F2B60

#2F2B60 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.091 H 283.5°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#2F2B60
RGBrgb(47, 43, 96)
HSLhsl(245, 38%, 27%)
HSVhsv(245, 55%, 38%)
CMYKcmyk(51%, 55.2%, 0%, 62.4%)
CIE-LABlab(20.74, 17.67, -31.09)
CIE-LCHlch(20.74, 35.76, 299.62°)
OKLaboklab(32.38% 0.0212 -0.0885)
OKLCHoklch(32.38% 0.091 283.5)
XYZxyz(4.1469, 3.1764, 11.4587)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B60 #5C602B
analogous
#2B4260 #2F2B60 #492B60
triadic
#2F2B60 #602F2B #2B602F
tetradic
#2F2B60 #602B42 #5C602B #2B6049
square
#2F2B60 #602B42 #5C602B #2B6049
split-complementary
#2F2B60 #60492B #42602B
monochromatic
#0A0915 #1A1836 #2F2B60 #443E8A #5A53B2

Accessibility & contrast

On white

12.84
#2F2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2F2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B60
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B60#FFFFFF#000000##FFFFFF
##2F2B601.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113462
Deuteranopia (green-blind)
#0E305F
Tritanopia (blue-blind)
#1E3641
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f2b60;
/* rgb */ color: rgb(47, 43, 96);
/* oklch */ color: oklch(32.4% 0.091 283.5);
Tailwind
colors: {
  custom: {
    50: '#6b648d',
    500: '#2f2b60',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b60;
$custom-light: #6b648d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b60",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 244.528,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32379,
    "c": 0.09103,
    "h": 283.5
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#2F2B60
secondary
#8E9255
accent
#CE5AC5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2F2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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