#2F2B73#2F2B73

#2F2B73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.120 H 280.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#2F2B73
RGBrgb(47, 43, 115)
HSLhsl(243, 46%, 31%)
HSVhsv(243, 63%, 45%)
CMYKcmyk(59.1%, 62.6%, 0%, 54.9%)
CIE-LABlab(22.19, 24.32, -41.07)
CIE-LCHlch(22.19, 47.73, 300.64°)
OKLaboklab(33.92% 0.0216 -0.1179)
OKLCHoklch(33.92% 0.12 280.4)
XYZxyz(5.1297, 3.5696, 16.6350)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B73 #6F732B
analogous
#2B4B73 #2F2B73 #532B73
triadic
#2F2B73 #732F2B #2B732F
tetradic
#2F2B73 #732B4B #6F732B #2B7353
square
#2F2B73 #732B4B #6F732B #2B7353
split-complementary
#2F2B73 #73532B #4B732B
monochromatic
#0B0A1A #1D1A46 #2F2B73 #413CA0 #5E58C1

Accessibility & contrast

On white

12.25
#2F2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B73
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B73#FFFFFF#000000##FFFFFF
##2F2B731.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#0A3C4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f2b73;
/* rgb */ color: rgb(47, 43, 115);
/* oklch */ color: oklch(33.9% 0.120 280.4);
Tailwind
colors: {
  custom: {
    50: '#6f649c',
    500: '#2f2b73',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b73;
$custom-light: #6f649c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b73",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 243.333,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33924,
    "c": 0.11984,
    "h": 280.4
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#2F2B73
secondary
#A0A555
accent
#D553CE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2F2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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