#2E2098#2E2098

#2E2098 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.182 H 277.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2E2098
RGBrgb(46, 32, 152)
HSLhsl(247, 65%, 36%)
HSVhsv(247, 79%, 60%)
CMYKcmyk(69.7%, 78.9%, 0%, 40.4%)
CIE-LABlab(23.27, 43.35, -62.52)
CIE-LCHlch(23.27, 76.08, 304.73°)
OKLaboklab(35.76% 0.0226 -0.1807)
OKLCHoklch(35.76% 0.182 277.1)
XYZxyz(7.3089, 3.8802, 30.0635)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2098 #8A9820
analogous
#204E98 #2E2098 #6A2098
triadic
#2E2098 #982E20 #20982E
tetradic
#2E2098 #98204E #8A9820 #20986A
square
#2E2098 #98204E #8A9820 #20986A
split-complementary
#2E2098 #986A20 #4E9820
monochromatic
#0F0B33 #1F1565 #2E2098 #3D2BCB #6657DC

Accessibility & contrast

On white

11.82
#2E2098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2098
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2098#FFFFFF#000000##FFFFFF
##2E20981.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9B
Deuteranopia (green-blind)
#003296
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2098;
/* rgb */ color: rgb(46, 32, 152);
/* oklch */ color: oklch(35.8% 0.182 277.1);
Tailwind
colors: {
  custom: {
    50: '#775fb8',
    500: '#2e2098',
    950: '#000000',
  },
}
SCSS
$custom: #2e2098;
$custom-light: #775fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2098",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 247,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35763,
    "c": 0.18209,
    "h": 277.1
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#2E2098
secondary
#B3BF54
accent
#E840D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2098

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

Preview Lab → · Contrast checker → · Palette generator →

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