#2F2091#2F2091

#2F2091 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.173 H 278.6°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#2F2091
RGBrgb(47, 32, 145)
HSLhsl(248, 64%, 35%)
HSVhsv(248, 78%, 57%)
CMYKcmyk(67.6%, 77.9%, 0%, 43.1%)
CIE-LABlab(22.59, 41.22, -59.33)
CIE-LCHlch(22.59, 72.24, 304.79°)
OKLaboklab(35.08% 0.0259 -0.1713)
OKLCHoklch(35.08% 0.173 278.6)
XYZxyz(6.7980, 3.6811, 27.1349)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2091 #829120
analogous
#204991 #2F2091 #682091
triadic
#2F2091 #912F20 #20912F
tetradic
#2F2091 #912049 #829120 #209168
square
#2F2091 #912049 #829120 #209168
split-complementary
#2F2091 #916820 #499120
monochromatic
#0E0A2D #1F155F #2F2091 #3F2BC3 #6452D9

Accessibility & contrast

On white

12.09
#2F2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2091
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2091#FFFFFF#000000##FFFFFF
##2F20911.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2091;
/* rgb */ color: rgb(47, 32, 145);
/* oklch */ color: oklch(35.1% 0.173 278.6);
Tailwind
colors: {
  custom: {
    50: '#765eb2',
    500: '#2f2091',
    950: '#000000',
  },
}
SCSS
$custom: #2f2091;
$custom-light: #765eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2091",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 247.965,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35078,
    "c": 0.17329,
    "h": 278.6
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2091

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

Preview Lab → · Contrast checker → · Palette generator →

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