#2F2E9D#2F2E9D

#2F2E9D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.174 H 274.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2F2E9D
RGBrgb(47, 46, 157)
HSLhsl(241, 55%, 40%)
HSVhsv(241, 71%, 62%)
CMYKcmyk(70.1%, 70.7%, 0%, 38.4%)
CIE-LABlab(26.71, 37.13, -59.91)
CIE-LCHlch(26.71, 70.48, 301.79°)
OKLaboklab(38.38% 0.0148 -0.1731)
OKLCHoklch(38.38% 0.174 274.9)
XYZxyz(8.2331, 4.9919, 32.4214)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E9D #9C9D2E
analogous
#2E649D #2F2E9D #672E9D
triadic
#2F2E9D #9D2F2E #2E9D2F
tetradic
#2F2E9D #9D2E64 #9C9D2E #2E9D67
square
#2F2E9D #9D2E64 #9C9D2E #2E9D67
split-complementary
#2F2E9D #9D672E #649D2E
monochromatic
#13123E #21206E #2F2E9D #4241C7 #7170D5

Accessibility & contrast

On white

10.51
#2F2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F2E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E9D
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E9D#FFFFFF#000000##FFFFFF
##2F2E9D1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f2e9d;
/* rgb */ color: rgb(47, 46, 157);
/* oklch */ color: oklch(38.4% 0.174 274.9);
Tailwind
colors: {
  custom: {
    50: '#7768bb',
    500: '#2f2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e9d;
$custom-light: #7768bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e9d",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 240.541,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38379,
    "c": 0.17376,
    "h": 274.9
  },
  "luminance": 0.04993
}

Semantic roles & 50–950 ramp

primary
#2F2E9D
secondary
#BCBD6A
accent
#DE4ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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