#2F2B53#2F2B53

#2F2B53 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.070 H 286.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#2F2B53
RGBrgb(47, 43, 83)
HSLhsl(246, 32%, 25%)
HSVhsv(246, 48%, 33%)
CMYKcmyk(43.4%, 48.2%, 0%, 67.5%)
CIE-LABlab(19.87, 13.26, -23.85)
CIE-LCHlch(19.87, 27.29, 299.08°)
OKLaboklab(31.44% 0.0196 -0.0673)
OKLCHoklch(31.44% 0.07 286.2)
XYZxyz(3.5971, 2.9565, 8.5631)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B53 #4F532B
analogous
#2B3B53 #2F2B53 #432B53
triadic
#2F2B53 #532F2B #2B532F
tetradic
#2F2B53 #532B3B #4F532B #2B5343
square
#2F2B53 #532B3B #4F532B #2B5343
split-complementary
#2F2B53 #53432B #3B532B
monochromatic
#0B0A14 #18162B #2F2B53 #46407B #5D55A4

Accessibility & contrast

On white

13.20
#2F2B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2F2B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B53
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B53#FFFFFF#000000##FFFFFF
##2F2B531.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3154
Deuteranopia (green-blind)
#1C2F52
Tritanopia (blue-blind)
#25333B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f2b53;
/* rgb */ color: rgb(47, 43, 83);
/* oklch */ color: oklch(31.4% 0.070 286.2);
Tailwind
colors: {
  custom: {
    50: '#6a6483',
    500: '#2f2b53',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b53;
$custom-light: #6a6483;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b53",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 83
  },
  "hsl": {
    "h": 246,
    "s": 31.746,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31444,
    "c": 0.07007,
    "h": 286.2
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#2F2B53
secondary
#808555
accent
#C860BE
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2F2B53

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

Preview Lab → · Contrast checker → · Palette generator →

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