#2F2D53#2F2D53

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

Color values

HEX#2F2D53
RGBrgb(47, 45, 83)
HSLhsl(243, 30%, 25%)
HSVhsv(243, 46%, 33%)
CMYKcmyk(43.4%, 45.8%, 0%, 67.5%)
CIE-LABlab(20.46, 11.86, -22.91)
CIE-LCHlch(20.46, 25.79, 297.37°)
OKLaboklab(31.89% 0.0165 -0.0645)
OKLCHoklch(31.89% 0.067 284.3)
XYZxyz(3.6716, 3.1055, 8.5879)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D53 #51532D
analogous
#2D3E53 #2F2D53 #422D53
triadic
#2F2D53 #532F2D #2D532F
tetradic
#2F2D53 #532D3E #51532D #2D5342
square
#2F2D53 #532D3E #51532D #2D5342
split-complementary
#2F2D53 #53422D #3E532D
monochromatic
#0B0B14 #19172B #2F2D53 #45437B #5C58A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2D53#FFFFFF#000000##FFFFFF
##2F2D531.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)
#203254
Deuteranopia (green-blind)
#1E3052
Tritanopia (blue-blind)
#25343C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2d53;
/* rgb */ color: rgb(47, 45, 83);
/* oklch */ color: oklch(31.9% 0.067 284.3);
Tailwind
colors: {
  custom: {
    50: '#696583',
    500: '#2f2d53',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d53;
$custom-light: #696583;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d53",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 83
  },
  "hsl": {
    "h": 243.158,
    "s": 29.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31894,
    "c": 0.06662,
    "h": 284.3
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#2F2D53
secondary
#828557
accent
#C662C1
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2F2D53

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

Preview Lab → · Contrast checker → · Palette generator →

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