#2F2673#2F2673

#2F2673 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.127 H 282.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#2F2673
RGBrgb(47, 38, 115)
HSLhsl(247, 50%, 30%)
HSVhsv(247, 67%, 45%)
CMYKcmyk(59.1%, 67%, 0%, 54.9%)
CIE-LABlab(20.94, 27.63, -43.11)
CIE-LCHlch(20.94, 51.21, 302.65°)
OKLaboklab(33% 0.0268 -0.1239)
OKLCHoklch(33% 0.127 282.2)
XYZxyz(4.9590, 3.2281, 16.5781)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2673 #6A7326
analogous
#264373 #2F2673 #562673
triadic
#2F2673 #732F26 #26732F
tetradic
#2F2673 #732643 #6A7326 #267356
square
#2F2673 #732643 #6A7326 #267356
split-complementary
#2F2673 #735626 #437326
monochromatic
#090817 #1C1745 #2F2673 #4235A1 #5C4FC5

Accessibility & contrast

On white

12.76
#2F2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F2673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2673
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2673#FFFFFF#000000##FFFFFF
##2F26731.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#0C3948
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f2673;
/* rgb */ color: rgb(47, 38, 115);
/* oklch */ color: oklch(33.0% 0.127 282.2);
Tailwind
colors: {
  custom: {
    50: '#6f619c',
    500: '#2f2673',
    950: '#000000',
  },
}
SCSS
$custom: #2f2673;
$custom-light: #6f619c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2673",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 247.013,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.33002,
    "c": 0.12679,
    "h": 282.2
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#2F2673
secondary
#9BA64F
accent
#DA4EC9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2F2673

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

Preview Lab → · Contrast checker → · Palette generator →

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