#2F2473#2F2473

#2F2473 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.129 H 282.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#2F2473
RGBrgb(47, 36, 115)
HSLhsl(248, 52%, 30%)
HSVhsv(248, 69%, 45%)
CMYKcmyk(59.1%, 68.7%, 0%, 54.9%)
CIE-LABlab(20.45, 28.92, -43.90)
CIE-LCHlch(20.45, 52.57, 303.37°)
OKLaboklab(32.65% 0.0288 -0.1262)
OKLCHoklch(32.65% 0.129 282.9)
XYZxyz(4.8967, 3.1036, 16.5574)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2473 #687324
analogous
#244173 #2F2473 #562473
triadic
#2F2473 #732F24 #24732F
tetradic
#2F2473 #732441 #687324 #247356
square
#2F2473 #732441 #687324 #247356
split-complementary
#2F2473 #735624 #417324
monochromatic
#0A0717 #1C1544 #2F2473 #4233A2 #5C4BC7

Accessibility & contrast

On white

12.96
#2F2473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2473
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2473#FFFFFF#000000##FFFFFF
##2F24731.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#0C3848
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2473;
/* rgb */ color: rgb(47, 36, 115);
/* oklch */ color: oklch(32.7% 0.129 282.9);
Tailwind
colors: {
  custom: {
    50: '#6f5f9c',
    500: '#2f2473',
    950: '#000000',
  },
}
SCSS
$custom: #2f2473;
$custom-light: #6f5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2473",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 248.354,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32653,
    "c": 0.12948,
    "h": 282.9
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#2F2473
secondary
#99A64D
accent
#DC4CC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2F2473

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

Preview Lab → · Contrast checker → · Palette generator →

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