#2F2D60#2F2D60

#2F2D60 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.088 H 282.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2F2D60
RGBrgb(47, 45, 96)
HSLhsl(242, 36%, 28%)
HSVhsv(242, 53%, 38%)
CMYKcmyk(51%, 53.1%, 0%, 62.4%)
CIE-LABlab(21.30, 16.28, -30.18)
CIE-LCHlch(21.30, 34.29, 298.35°)
OKLaboklab(32.8% 0.0185 -0.0858)
OKLCHoklch(32.8% 0.088 282.2)
XYZxyz(4.2214, 3.3254, 11.4835)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D60 #5E602D
analogous
#2D4460 #2F2D60 #482D60
triadic
#2F2D60 #602F2D #2D602F
tetradic
#2F2D60 #602D44 #5E602D #2D6048
square
#2F2D60 #602D44 #5E602D #2D6048
split-complementary
#2F2D60 #60482D #44602D
monochromatic
#0A0A15 #1B1936 #2F2D60 #43418A #5B57B0

Accessibility & contrast

On white

12.61
#2F2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F2D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D60
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D60#FFFFFF#000000##FFFFFF
##2F2D601.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163562
Deuteranopia (green-blind)
#13315F
Tritanopia (blue-blind)
#1E3842
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f2d60;
/* rgb */ color: rgb(47, 45, 96);
/* oklch */ color: oklch(32.8% 0.088 282.2);
Tailwind
colors: {
  custom: {
    50: '#6b658d',
    500: '#2f2d60',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d60;
$custom-light: #6b658d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d60",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 242.353,
    "s": 36.17,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32803,
    "c": 0.08782,
    "h": 282.2
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#2F2D60
secondary
#909257
accent
#CC5CC8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2F2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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