#2F2C73#2F2C73

#2F2C73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 34.1% C 0.118 H 280.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2F2C73
RGBrgb(47, 44, 115)
HSLhsl(243, 45%, 31%)
HSVhsv(243, 62%, 45%)
CMYKcmyk(59.1%, 61.7%, 0%, 54.9%)
CIE-LABlab(22.45, 23.65, -40.64)
CIE-LCHlch(22.45, 47.02, 300.20°)
OKLaboklab(34.12% 0.0205 -0.1166)
OKLCHoklch(34.12% 0.118 280)
XYZxyz(5.1665, 3.6432, 16.6473)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C73 #70732C
analogous
#2C4C73 #2F2C73 #522C73
triadic
#2F2C73 #732F2C #2C732F
tetradic
#2F2C73 #732C4C #70732C #2C7352
square
#2F2C73 #732C4C #70732C #2C7352
split-complementary
#2F2C73 #73522C #4C732C
monochromatic
#0B0A1A #1D1B47 #2F2C73 #413D9F #5E5AC0

Accessibility & contrast

On white

12.15
#2F2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F2C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C73
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C73#FFFFFF#000000##FFFFFF
##2F2C731.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#0A3D4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2c73;
/* rgb */ color: rgb(47, 44, 115);
/* oklch */ color: oklch(34.1% 0.118 280.0);
Tailwind
colors: {
  custom: {
    50: '#6f659c',
    500: '#2f2c73',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c73;
$custom-light: #6f659c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c73",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 242.535,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34116,
    "c": 0.11842,
    "h": 280
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#2F2C73
secondary
#A1A556
accent
#D453CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2F2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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