#2F2B91#2F2B91

#2F2B91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.161 H 276.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2F2B91
RGBrgb(47, 43, 145)
HSLhsl(242, 54%, 37%)
HSVhsv(242, 70%, 57%)
CMYKcmyk(67.6%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.88, 34.83, -55.56)
CIE-LCHlch(24.88, 65.58, 302.08°)
OKLaboklab(36.71% 0.0186 -0.1604)
OKLCHoklch(36.71% 0.161 276.6)
XYZxyz(7.1453, 4.3758, 27.2506)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B91 #8D912B
analogous
#2B5A91 #2F2B91 #622B91
triadic
#2F2B91 #912F2B #2B912F
tetradic
#2F2B91 #912B5A #8D912B #2B9162
square
#2F2B91 #912B5A #8D912B #2B9162
split-complementary
#2F2B91 #91622B #5A912B
monochromatic
#100F33 #201D62 #2F2B91 #3E39C0 #6965D1

Accessibility & contrast

On white

11.20
#2F2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B91
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B91#FFFFFF#000000##FFFFFF
##2F2B911.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2b91;
/* rgb */ color: rgb(47, 43, 145);
/* oklch */ color: oklch(36.7% 0.161 276.6);
Tailwind
colors: {
  custom: {
    50: '#7565b2',
    500: '#2f2b91',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b91;
$custom-light: #7565b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b91",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 242.353,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36706,
    "c": 0.16148,
    "h": 276.6
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#2F2B91
secondary
#B4B860
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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