#2F2D94#2F2D94

#2F2D94 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.163 H 275.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2F2D94
RGBrgb(47, 45, 148)
HSLhsl(241, 53%, 38%)
HSVhsv(241, 70%, 58%)
CMYKcmyk(68.2%, 69.6%, 0%, 42%)
CIE-LABlab(25.62, 34.63, -56.19)
CIE-LCHlch(25.62, 66.01, 301.64°)
OKLaboklab(37.33% 0.0167 -0.1622)
OKLCHoklch(37.33% 0.163 275.9)
XYZxyz(7.4542, 4.6186, 28.5099)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D94 #92942D
analogous
#2D5E94 #2F2D94 #622D94
triadic
#2F2D94 #942F2D #2D942F
tetradic
#2F2D94 #942D5E #92942D #2D9462
square
#2F2D94 #942D5E #92942D #2D9462
split-complementary
#2F2D94 #94622D #5E942D
monochromatic
#111036 #201F65 #2F2D94 #3E3BC3 #6C6AD2

Accessibility & contrast

On white

10.92
#2F2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D94
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D94#FFFFFF#000000##FFFFFF
##2F2D941.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f2d94;
/* rgb */ color: rgb(47, 45, 148);
/* oklch */ color: oklch(37.3% 0.163 275.9);
Tailwind
colors: {
  custom: {
    50: '#7667b4',
    500: '#2f2d94',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d94;
$custom-light: #7667b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d94",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 241.165,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37328,
    "c": 0.16311,
    "h": 275.9
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#2F2D94
secondary
#B7B864
accent
#DD4BDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2F2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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