#2F2C53#2F2C53

#2F2C53 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.068 H 285.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2F2C53
RGBrgb(47, 44, 83)
HSLhsl(245, 31%, 25%)
HSVhsv(245, 47%, 33%)
CMYKcmyk(43.4%, 47%, 0%, 67.5%)
CIE-LABlab(20.16, 12.56, -23.38)
CIE-LCHlch(20.16, 26.54, 298.25°)
OKLaboklab(31.67% 0.018 -0.0659)
OKLCHoklch(31.67% 0.068 285.3)
XYZxyz(3.6339, 3.0301, 8.5753)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C53 #50532C
analogous
#2C3D53 #2F2C53 #422C53
triadic
#2F2C53 #532F2C #2C532F
tetradic
#2F2C53 #532C3D #50532C #2C5342
square
#2F2C53 #532C3D #50532C #2C5342
split-complementary
#2F2C53 #53422C #3D532C
monochromatic
#0B0B14 #18172B #2F2C53 #46417B #5C56A3

Accessibility & contrast

On white

13.08
#2F2C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2F2C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C53
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C53#FFFFFF#000000##FFFFFF
##2F2C531.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3254
Deuteranopia (green-blind)
#1D3052
Tritanopia (blue-blind)
#25343B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2c53;
/* rgb */ color: rgb(47, 44, 83);
/* oklch */ color: oklch(31.7% 0.068 285.3);
Tailwind
colors: {
  custom: {
    50: '#696583',
    500: '#2f2c53',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c53;
$custom-light: #696583;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c53",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 83
  },
  "hsl": {
    "h": 244.615,
    "s": 30.709,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31668,
    "c": 0.06834,
    "h": 285.3
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#2F2C53
secondary
#818556
accent
#C761BF
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2F2C53

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

Preview Lab → · Contrast checker → · Palette generator →

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