#2F2E90#2F2E90

#2F2E90 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.157 H 276.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2F2E90
RGBrgb(47, 46, 144)
HSLhsl(241, 52%, 37%)
HSVhsv(241, 68%, 56%)
CMYKcmyk(67.4%, 68.1%, 0%, 43.5%)
CIE-LABlab(25.48, 32.60, -53.96)
CIE-LCHlch(25.48, 63.04, 301.14°)
OKLaboklab(37.11% 0.0165 -0.1557)
OKLCHoklch(37.11% 0.157 276)
XYZxyz(7.1817, 4.5713, 26.8840)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E90 #8F902E
analogous
#2E5E90 #2F2E90 #602E90
triadic
#2F2E90 #902F2E #2E902F
tetradic
#2F2E90 #902E5E #8F902E #2E9060
square
#2F2E90 #902E5E #8F902E #2E9060
split-complementary
#2F2E90 #90602E #5E902E
monochromatic
#111033 #201F62 #2F2E90 #3E3DBE #6A69CF

Accessibility & contrast

On white

10.97
#2F2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E90
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E90#FFFFFF#000000##FFFFFF
##2F2E901.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2e90;
/* rgb */ color: rgb(47, 46, 144);
/* oklch */ color: oklch(37.1% 0.157 276.0);
Tailwind
colors: {
  custom: {
    50: '#7567b1',
    500: '#2f2e90',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e90;
$custom-light: #7567b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e90",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 240.612,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37111,
    "c": 0.15658,
    "h": 276
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#2F2E90
secondary
#B5B664
accent
#DB4DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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