#2F2C91#2F2C91

#2F2C91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.160 H 276.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2F2C91
RGBrgb(47, 44, 145)
HSLhsl(242, 53%, 37%)
HSVhsv(242, 70%, 57%)
CMYKcmyk(67.6%, 69.7%, 0%, 43.1%)
CIE-LABlab(25.10, 34.21, -55.19)
CIE-LCHlch(25.10, 64.93, 301.79°)
OKLaboklab(36.87% 0.0179 -0.1593)
OKLCHoklch(36.87% 0.16 276.4)
XYZxyz(7.1821, 4.4494, 27.2629)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C91 #8E912C
analogous
#2C5C91 #2F2C91 #622C91
triadic
#2F2C91 #912F2C #2C912F
tetradic
#2F2C91 #912C5C #8E912C #2C9162
square
#2F2C91 #912C5C #8E912C #2C9162
split-complementary
#2F2C91 #91622C #5C912C
monochromatic
#111033 #201E62 #2F2C91 #3E3AC0 #6A67D1

Accessibility & contrast

On white

11.11
#2F2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C91
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C91#FFFFFF#000000##FFFFFF
##2F2C911.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2c91;
/* rgb */ color: rgb(47, 44, 145);
/* oklch */ color: oklch(36.9% 0.160 276.4);
Tailwind
colors: {
  custom: {
    50: '#7566b2',
    500: '#2f2c91',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c91;
$custom-light: #7566b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c91",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 241.782,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3687,
    "c": 0.16031,
    "h": 276.4
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#2F2C91
secondary
#B5B762
accent
#DD4BD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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