#2F2E92#2F2E92

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

Color values

HEX#2F2E92
RGBrgb(47, 46, 146)
HSLhsl(241, 52%, 38%)
HSVhsv(241, 68%, 57%)
CMYKcmyk(67.8%, 68.5%, 0%, 42.7%)
CIE-LABlab(25.66, 33.30, -54.89)
CIE-LCHlch(25.66, 64.20, 301.25°)
OKLaboklab(37.3% 0.0162 -0.1584)
OKLCHoklch(37.3% 0.159 275.9)
XYZxyz(7.3359, 4.6330, 27.6962)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E92 #91922E
analogous
#2E5F92 #2F2E92 #612E92
triadic
#2F2E92 #922F2E #2E922F
tetradic
#2F2E92 #922E5F #91922E #2E9261
square
#2F2E92 #922E5F #91922E #2E9261
split-complementary
#2F2E92 #92612E #5F922E
monochromatic
#111135 #201F63 #2F2E92 #3E3DC1 #6B6AD0

Accessibility & contrast

On white

10.90
#2F2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E92
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E92#FFFFFF#000000##FFFFFF
##2F2E921.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f2e92;
/* rgb */ color: rgb(47, 46, 146);
/* oklch */ color: oklch(37.3% 0.159 275.9);
Tailwind
colors: {
  custom: {
    50: '#7567b3',
    500: '#2f2e92',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e92;
$custom-light: #7567b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e92",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 240.6,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37302,
    "c": 0.15927,
    "h": 275.9
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#2F2E92
secondary
#B6B765
accent
#DC4CDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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