#2F2E93#2F2E93

#2F2E93 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.161 H 275.8°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2F2E93
RGBrgb(47, 46, 147)
HSLhsl(241, 52%, 38%)
HSVhsv(241, 69%, 58%)
CMYKcmyk(68%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.76, 33.65, -55.35)
CIE-LCHlch(25.76, 64.78, 301.30°)
OKLaboklab(37.4% 0.0161 -0.1598)
OKLCHoklch(37.4% 0.161 275.8)
XYZxyz(7.4140, 4.6643, 28.1077)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E93 #92932E
analogous
#2E5F93 #2F2E93 #612E93
triadic
#2F2E93 #932F2E #2E932F
tetradic
#2F2E93 #932E5F #92932E #2E9361
square
#2F2E93 #932E5F #92932E #2E9361
split-complementary
#2F2E93 #93612E #5F932E
monochromatic
#111136 #201F64 #2F2E93 #3E3DC2 #6C6BD1

Accessibility & contrast

On white

10.86
#2F2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E93
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E93#FFFFFF#000000##FFFFFF
##2F2E931.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f2e93;
/* rgb */ color: rgb(47, 46, 147);
/* oklch */ color: oklch(37.4% 0.161 275.8);
Tailwind
colors: {
  custom: {
    50: '#7567b4',
    500: '#2f2e93',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e93;
$custom-light: #7567b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e93",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 240.594,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37398,
    "c": 0.1606,
    "h": 275.8
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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