#2E3090#2E3090

#2E3090 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.154 H 275.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2E3090
RGBrgb(46, 48, 144)
HSLhsl(239, 52%, 37%)
HSVhsv(239, 68%, 56%)
CMYKcmyk(68.1%, 66.7%, 0%, 43.5%)
CIE-LABlab(25.89, 31.18, -53.29)
CIE-LCHlch(25.89, 61.74, 300.33°)
OKLaboklab(37.39% 0.0137 -0.1538)
OKLCHoklch(37.39% 0.154 275.1)
XYZxyz(7.2160, 4.7077, 26.9086)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3090 #908E2E
analogous
#2E6190 #2E3090 #5D2E90
triadic
#2E3090 #902E30 #30902E
tetradic
#2E3090 #902E61 #908E2E #2E905D
square
#2E3090 #902E61 #908E2E #2E905D
split-complementary
#2E3090 #905D2E #61902E
monochromatic
#101133 #1F2162 #2E3090 #3D3FBE #696BCF

Accessibility & contrast

On white

10.82
#2E3090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E3090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3090
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3090#FFFFFF#000000##FFFFFF
##2E30901.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e3090;
/* rgb */ color: rgb(46, 48, 144);
/* oklch */ color: oklch(37.4% 0.154 275.1);
Tailwind
colors: {
  custom: {
    50: '#7468b1',
    500: '#2e3090',
    950: '#000000',
  },
}
SCSS
$custom: #2e3090;
$custom-light: #7468b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3090",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 144
  },
  "hsl": {
    "h": 238.776,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37389,
    "c": 0.15438,
    "h": 275.1
  },
  "luminance": 0.04708
}

Semantic roles & 50–950 ramp

primary
#2E3090
secondary
#B6B464
accent
#D84DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3090

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

Preview Lab → · Contrast checker → · Palette generator →

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