#2F2B95#2F2B95

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

Color values

HEX#2F2B95
RGBrgb(47, 43, 149)
HSLhsl(242, 55%, 38%)
HSVhsv(242, 71%, 58%)
CMYKcmyk(68.5%, 71.1%, 0%, 41.6%)
CIE-LABlab(25.26, 36.21, -57.39)
CIE-LCHlch(25.26, 67.86, 302.25°)
OKLaboklab(37.1% 0.018 -0.1658)
OKLCHoklch(37.1% 0.167 276.2)
XYZxyz(7.4592, 4.5014, 28.9037)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B95 #91952B
analogous
#2B5C95 #2F2B95 #642B95
triadic
#2F2B95 #952F2B #2B952F
tetradic
#2F2B95 #952B5C #91952B #2B9564
square
#2F2B95 #952B5C #91952B #2B9564
split-complementary
#2F2B95 #95642B #5C952B
monochromatic
#111036 #201D66 #2F2B95 #3E39C4 #6B67D3

Accessibility & contrast

On white

11.05
#2F2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2B95
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B95#FFFFFF#000000##FFFFFF
##2F2B951.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2b95;
/* rgb */ color: rgb(47, 43, 149);
/* oklch */ color: oklch(37.1% 0.167 276.2);
Tailwind
colors: {
  custom: {
    50: '#7665b5',
    500: '#2f2b95',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b95;
$custom-light: #7665b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b95",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 242.264,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37102,
    "c": 0.16673,
    "h": 276.2
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#2F2B95
secondary
#B6BA62
accent
#DF49D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2F2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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