#2F2E75#2F2E75

#2F2E75 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.7% C 0.119 H 278.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2F2E75
RGBrgb(47, 46, 117)
HSLhsl(241, 44%, 32%)
HSVhsv(241, 61%, 46%)
CMYKcmyk(59.8%, 60.7%, 0%, 54.1%)
CIE-LABlab(23.14, 23.01, -40.81)
CIE-LCHlch(23.14, 46.85, 299.42°)
OKLaboklab(34.67% 0.0183 -0.1171)
OKLCHoklch(34.67% 0.119 278.9)
XYZxyz(5.3592, 3.8423, 17.2854)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E75 #74752E
analogous
#2E5175 #2F2E75 #532E75
triadic
#2F2E75 #752F2E #2E752F
tetradic
#2F2E75 #752E51 #74752E #2E7553
square
#2F2E75 #752E51 #74752E #2E7553
split-complementary
#2F2E75 #75532E #51752E
monochromatic
#0C0B1D #1D1D49 #2F2E75 #413FA1 #5F5EC0

Accessibility & contrast

On white

11.87
#2F2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F2E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E75
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E75#FFFFFF#000000##FFFFFF
##2F2E751.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#063F4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2e75;
/* rgb */ color: rgb(47, 46, 117);
/* oklch */ color: oklch(34.7% 0.119 278.9);
Tailwind
colors: {
  custom: {
    50: '#6f669d',
    500: '#2f2e75',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e75;
$custom-light: #6f669d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e75",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 240.845,
    "s": 43.558,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34675,
    "c": 0.11851,
    "h": 278.9
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#2F2E75
secondary
#A5A659
accent
#D354D2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2F2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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