#2E2F89#2E2F89

#2E2F89 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.146 H 275.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2E2F89
RGBrgb(46, 47, 137)
HSLhsl(239, 50%, 36%)
HSVhsv(239, 66%, 54%)
CMYKcmyk(66.4%, 65.7%, 0%, 46.3%)
CIE-LABlab(25.01, 29.33, -50.38)
CIE-LCHlch(25.01, 58.29, 300.20°)
OKLaboklab(36.56% 0.0151 -0.1452)
OKLCHoklch(36.56% 0.146 275.9)
XYZxyz(6.6571, 4.4195, 24.1643)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F89 #89882E
analogous
#2E5C89 #2E2F89 #5A2E89
triadic
#2E2F89 #892E2F #2F892E
tetradic
#2E2F89 #892E5C #89882E #2E895A
square
#2E2F89 #892E5C #89882E #2E895A
split-complementary
#2E2F89 #895A2E #5C892E
monochromatic
#0F102D #1F1F5B #2E2F89 #3D3FB7 #6667CC

Accessibility & contrast

On white

11.15
#2E2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F89
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F89#FFFFFF#000000##FFFFFF
##2E2F891.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2f89;
/* rgb */ color: rgb(46, 47, 137);
/* oklch */ color: oklch(36.6% 0.146 275.9);
Tailwind
colors: {
  custom: {
    50: '#7268ac',
    500: '#2e2f89',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f89;
$custom-light: #7268ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f89",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 239.341,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36558,
    "c": 0.14602,
    "h": 275.9
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#2E2F89
secondary
#B2B160
accent
#D84FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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