#2F2C93#2F2C93

#2F2C93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.163 H 276.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2F2C93
RGBrgb(47, 44, 147)
HSLhsl(242, 54%, 37%)
HSVhsv(242, 70%, 58%)
CMYKcmyk(68%, 70.1%, 0%, 42.4%)
CIE-LABlab(25.30, 34.90, -56.11)
CIE-LCHlch(25.30, 66.08, 301.88°)
OKLaboklab(37.07% 0.0176 -0.162)
OKLCHoklch(37.07% 0.163 276.2)
XYZxyz(7.3377, 4.5116, 28.0823)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C93 #90932C
analogous
#2C5C93 #2F2C93 #632C93
triadic
#2F2C93 #932F2C #2C932F
tetradic
#2F2C93 #932C5C #90932C #2C9363
square
#2F2C93 #932C5C #90932C #2C9363
split-complementary
#2F2C93 #93632C #5C932C
monochromatic
#111035 #201E64 #2F2C93 #3E3AC2 #6B68D2

Accessibility & contrast

On white

11.04
#2F2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F2C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C93
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C93#FFFFFF#000000##FFFFFF
##2F2C931.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2c93;
/* rgb */ color: rgb(47, 44, 147);
/* oklch */ color: oklch(37.1% 0.163 276.2);
Tailwind
colors: {
  custom: {
    50: '#7566b4',
    500: '#2f2c93',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c93;
$custom-light: #7566b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c93",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 241.748,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37066,
    "c": 0.16296,
    "h": 276.2
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#2F2C93
secondary
#B6B863
accent
#DD4AD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2F2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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