#2F2092#2F2092

#2F2092 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.175 H 278.4°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2F2092
RGBrgb(47, 32, 146)
HSLhsl(248, 64%, 35%)
HSVhsv(248, 78%, 57%)
CMYKcmyk(67.8%, 78.1%, 0%, 42.7%)
CIE-LABlab(22.70, 41.54, -59.77)
CIE-LCHlch(22.70, 72.79, 304.80°)
OKLaboklab(35.19% 0.0256 -0.1726)
OKLCHoklch(35.19% 0.175 278.4)
XYZxyz(6.8754, 3.7121, 27.5427)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2092 #839220
analogous
#204A92 #2F2092 #682092
triadic
#2F2092 #922F20 #20922F
tetradic
#2F2092 #92204A #839220 #209268
square
#2F2092 #92204A #839220 #209268
split-complementary
#2F2092 #926820 #4A9220
monochromatic
#0F0A2E #1F1560 #2F2092 #3F2BC4 #6553D9

Accessibility & contrast

On white

12.05
#2F2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2F2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2092
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2092#FFFFFF#000000##FFFFFF
##2F20921.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2092;
/* rgb */ color: rgb(47, 32, 146);
/* oklch */ color: oklch(35.2% 0.175 278.4);
Tailwind
colors: {
  custom: {
    50: '#765eb3',
    500: '#2f2092',
    950: '#000000',
  },
}
SCSS
$custom: #2f2092;
$custom-light: #765eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2092",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 247.895,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35186,
    "c": 0.17452,
    "h": 278.4
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#2F2092
secondary
#AFBD51
accent
#E741D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2F2092

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

Preview Lab → · Contrast checker → · Palette generator →

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