#2F2D93#2F2D93

#2F2D93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.162 H 276.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2F2D93
RGBrgb(47, 45, 147)
HSLhsl(241, 53%, 38%)
HSVhsv(241, 69%, 58%)
CMYKcmyk(68%, 69.4%, 0%, 42.4%)
CIE-LABlab(25.52, 34.28, -55.73)
CIE-LCHlch(25.52, 65.43, 301.60°)
OKLaboklab(37.23% 0.0169 -0.1609)
OKLCHoklch(37.23% 0.162 276)
XYZxyz(7.3754, 4.5870, 28.0948)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D93 #91932D
analogous
#2D5E93 #2F2D93 #622D93
triadic
#2F2D93 #932F2D #2D932F
tetradic
#2F2D93 #932D5E #91932D #2D9362
square
#2F2D93 #932D5E #91932D #2D9362
split-complementary
#2F2D93 #93622D #5E932D
monochromatic
#111035 #201F64 #2F2D93 #3E3BC2 #6B69D1

Accessibility & contrast

On white

10.95
#2F2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D93
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D93#FFFFFF#000000##FFFFFF
##2F2D931.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2d93;
/* rgb */ color: rgb(47, 45, 147);
/* oklch */ color: oklch(37.2% 0.162 276.0);
Tailwind
colors: {
  custom: {
    50: '#7567b4',
    500: '#2f2d93',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d93;
$custom-light: #7567b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d93",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 241.176,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37231,
    "c": 0.16179,
    "h": 276
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#2F2D93
secondary
#B6B864
accent
#DD4BDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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