#2E2F86#2E2F86

#2E2F86 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.142 H 276.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2E2F86
RGBrgb(46, 47, 134)
HSLhsl(239, 49%, 35%)
HSVhsv(239, 66%, 53%)
CMYKcmyk(65.7%, 64.9%, 0%, 47.5%)
CIE-LABlab(24.75, 28.25, -48.94)
CIE-LCHlch(24.75, 56.51, 300.00°)
OKLaboklab(36.28% 0.0153 -0.141)
OKLCHoklch(36.28% 0.142 276.2)
XYZxyz(6.4449, 4.3346, 23.0467)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F86 #86852E
analogous
#2E5B86 #2E2F86 #592E86
triadic
#2E2F86 #862E2F #2F862E
tetradic
#2E2F86 #862E5B #86852E #2E8659
square
#2E2F86 #862E5B #86852E #2E8659
split-complementary
#2E2F86 #86592E #5B862E
monochromatic
#0F0F2B #1E1F58 #2E2F86 #3E3FB4 #6466CA

Accessibility & contrast

On white

11.25
#2E2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F86
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F86#FFFFFF#000000##FFFFFF
##2E2F861.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2f86;
/* rgb */ color: rgb(46, 47, 134);
/* oklch */ color: oklch(36.3% 0.142 276.2);
Tailwind
colors: {
  custom: {
    50: '#7267aa',
    500: '#2e2f86',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f86;
$custom-light: #7267aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f86",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 239.318,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36283,
    "c": 0.14184,
    "h": 276.2
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#2E2F86
secondary
#B1B05F
accent
#D74FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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