#2E3099#2E3099

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

Color values

HEX#2E3099
RGBrgb(46, 48, 153)
HSLhsl(239, 54%, 39%)
HSVhsv(239, 70%, 60%)
CMYKcmyk(69.9%, 68.6%, 0%, 40%)
CIE-LABlab(26.72, 34.37, -57.46)
CIE-LCHlch(26.72, 66.96, 300.88°)
OKLaboklab(38.25% 0.0127 -0.166)
OKLCHoklch(38.25% 0.166 274.4)
XYZxyz(7.9315, 4.9939, 30.6767)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3099 #99972E
analogous
#2E6699 #2E3099 #622E99
triadic
#2E3099 #992E30 #30992E
tetradic
#2E3099 #992E66 #99972E #2E9962
square
#2E3099 #992E66 #99972E #2E9962
split-complementary
#2E3099 #99622E #66992E
monochromatic
#12123B #20216A #2E3099 #3F41C5 #6E70D3

Accessibility & contrast

On white

10.51
#2E3099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E3099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3099
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3099#FFFFFF#000000##FFFFFF
##2E30991.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3099;
/* rgb */ color: rgb(46, 48, 153);
/* oklch */ color: oklch(38.2% 0.166 274.4);
Tailwind
colors: {
  custom: {
    50: '#7669b8',
    500: '#2e3099',
    950: '#000000',
  },
}
SCSS
$custom: #2e3099;
$custom-light: #7669b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3099",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 238.879,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.16648,
    "h": 274.4
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3099

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

Preview Lab → · Contrast checker → · Palette generator →

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