#2E3085#2E3085

#2E3085 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.139 H 276.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2E3085
RGBrgb(46, 48, 133)
HSLhsl(239, 49%, 35%)
HSVhsv(239, 65%, 52%)
CMYKcmyk(65.4%, 63.9%, 0%, 47.8%)
CIE-LABlab(24.91, 27.23, -48.04)
CIE-LCHlch(24.91, 55.22, 299.55°)
OKLaboklab(36.38% 0.0145 -0.1384)
OKLCHoklch(36.38% 0.139 276)
XYZxyz(6.4159, 4.3877, 22.6946)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3085 #85832E
analogous
#2E5B85 #2E3085 #582E85
triadic
#2E3085 #852E30 #30852E
tetradic
#2E3085 #852E5B #85832E #2E8558
square
#2E3085 #852E5B #85832E #2E8558
split-complementary
#2E3085 #85582E #5B852E
monochromatic
#0F0F2A #1E2058 #2E3085 #3E40B2 #6466C9

Accessibility & contrast

On white

11.18
#2E3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3085
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3085#FFFFFF#000000##FFFFFF
##2E30851.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3085;
/* rgb */ color: rgb(46, 48, 133);
/* oklch */ color: oklch(36.4% 0.139 276.0);
Tailwind
colors: {
  custom: {
    50: '#7268a9',
    500: '#2e3085',
    950: '#000000',
  },
}
SCSS
$custom: #2e3085;
$custom-light: #7268a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3085",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 238.621,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36377,
    "c": 0.13912,
    "h": 276
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#2E3085
secondary
#B0AE5F
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E3085

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

Preview Lab → · Contrast checker → · Palette generator →

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