#2F2E53#2F2E53

#2F2E53 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.065 H 283.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2F2E53
RGBrgb(47, 46, 83)
HSLhsl(242, 29%, 25%)
HSVhsv(242, 45%, 33%)
CMYKcmyk(43.4%, 44.6%, 0%, 67.5%)
CIE-LABlab(20.76, 11.16, -22.43)
CIE-LCHlch(20.76, 25.05, 296.45°)
OKLaboklab(32.12% 0.015 -0.0632)
OKLCHoklch(32.12% 0.065 283.3)
XYZxyz(3.7102, 3.1827, 8.6008)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E53 #52532E
analogous
#2E3F53 #2F2E53 #412E53
triadic
#2F2E53 #532F2E #2E532F
tetradic
#2F2E53 #532E3F #52532E #2E5341
square
#2F2E53 #532E3F #52532E #2E5341
split-complementary
#2F2E53 #53412E #3F532E
monochromatic
#0B0B14 #19182C #2F2E53 #45447A #5C5AA2

Accessibility & contrast

On white

12.83
#2F2E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E53
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E53#FFFFFF#000000##FFFFFF
##2F2E531.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213354
Deuteranopia (green-blind)
#203152
Tritanopia (blue-blind)
#25353C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f2e53;
/* rgb */ color: rgb(47, 46, 83);
/* oklch */ color: oklch(32.1% 0.065 283.3);
Tailwind
colors: {
  custom: {
    50: '#696683',
    500: '#2f2e53',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e53;
$custom-light: #696683;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e53",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 241.622,
    "s": 28.682,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32123,
    "c": 0.06491,
    "h": 283.3
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#2F2E53
secondary
#838558
accent
#C563C2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2F2E53

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

Preview Lab → · Contrast checker → · Palette generator →

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