#2F2E8F#2F2E8F

#2F2E8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.155 H 276.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2F2E8F
RGBrgb(47, 46, 143)
HSLhsl(241, 51%, 37%)
HSVhsv(241, 68%, 56%)
CMYKcmyk(67.1%, 67.8%, 0%, 43.9%)
CIE-LABlab(25.38, 32.25, -53.49)
CIE-LCHlch(25.38, 62.46, 301.09°)
OKLaboklab(37.02% 0.0166 -0.1543)
OKLCHoklch(37.02% 0.155 276.1)
XYZxyz(7.1056, 4.5409, 26.4833)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E8F #8E8F2E
analogous
#2E5D8F #2F2E8F #602E8F
triadic
#2F2E8F #8F2F2E #2E8F2F
tetradic
#2F2E8F #8F2E5D #8E8F2E #2E8F60
square
#2F2E8F #8F2E5D #8E8F2E #2E8F60
split-complementary
#2F2E8F #8F602E #5D8F2E
monochromatic
#111032 #201F61 #2F2E8F #3E3DBD #6A69CF

Accessibility & contrast

On white

11.01
#2F2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E8F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E8F#FFFFFF#000000##FFFFFF
##2F2E8F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2e8f;
/* rgb */ color: rgb(47, 46, 143);
/* oklch */ color: oklch(37.0% 0.155 276.1);
Tailwind
colors: {
  custom: {
    50: '#7467b1',
    500: '#2f2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e8f;
$custom-light: #7467b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e8f",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 240.619,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37015,
    "c": 0.15523,
    "h": 276.1
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#2F2E8F
secondary
#B5B663
accent
#DB4DD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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