#2E3098#2E3098

#2E3098 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.165 H 274.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2E3098
RGBrgb(46, 48, 152)
HSLhsl(239, 54%, 39%)
HSVhsv(239, 70%, 60%)
CMYKcmyk(69.7%, 68.4%, 0%, 40.4%)
CIE-LABlab(26.62, 34.02, -57.00)
CIE-LCHlch(26.62, 66.38, 300.83°)
OKLaboklab(38.15% 0.0128 -0.1646)
OKLCHoklch(38.15% 0.165 274.4)
XYZxyz(7.8493, 4.9610, 30.2436)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3098 #98962E
analogous
#2E6598 #2E3098 #612E98
triadic
#2E3098 #982E30 #30982E
tetradic
#2E3098 #982E65 #98962E #2E9861
square
#2E3098 #982E65 #98962E #2E9861
split-complementary
#2E3098 #98612E #65982E
monochromatic
#12123A #202169 #2E3098 #3E41C5 #6D6FD3

Accessibility & contrast

On white

10.54
#2E3098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E3098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3098
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3098#FFFFFF#000000##FFFFFF
##2E30981.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e3098;
/* rgb */ color: rgb(46, 48, 152);
/* oklch */ color: oklch(38.2% 0.165 274.4);
Tailwind
colors: {
  custom: {
    50: '#7669b7',
    500: '#2e3098',
    950: '#000000',
  },
}
SCSS
$custom: #2e3098;
$custom-light: #7669b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3098",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 238.868,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.16515,
    "h": 274.4
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#2E3098
secondary
#BAB968
accent
#DA4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E3098

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

Preview Lab → · Contrast checker → · Palette generator →

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