#2E2F85#2E2F85

#2E2F85 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.140 H 276.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2E2F85
RGBrgb(46, 47, 133)
HSLhsl(239, 49%, 35%)
HSVhsv(239, 65%, 52%)
CMYKcmyk(65.4%, 64.7%, 0%, 47.8%)
CIE-LABlab(24.66, 27.89, -48.45)
CIE-LCHlch(24.66, 55.91, 299.93°)
OKLaboklab(36.19% 0.0154 -0.1396)
OKLCHoklch(36.19% 0.14 276.3)
XYZxyz(6.3755, 4.3068, 22.6811)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F85 #85842E
analogous
#2E5B85 #2E2F85 #582E85
triadic
#2E2F85 #852E2F #2F852E
tetradic
#2E2F85 #852E5B #85842E #2E8558
square
#2E2F85 #852E5B #85842E #2E8558
split-complementary
#2E2F85 #85582E #5B852E
monochromatic
#0F0F2A #1E1F58 #2E2F85 #3E3FB2 #6465C9

Accessibility & contrast

On white

11.28
#2E2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F85
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F85#FFFFFF#000000##FFFFFF
##2E2F851.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2f85;
/* rgb */ color: rgb(46, 47, 133);
/* oklch */ color: oklch(36.2% 0.140 276.3);
Tailwind
colors: {
  custom: {
    50: '#7267a9',
    500: '#2e2f85',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f85;
$custom-light: #7267a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f85",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 239.31,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36192,
    "c": 0.14043,
    "h": 276.3
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#2E2F85
secondary
#B0AF5F
accent
#D750D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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