#2E30A3#2E30A3

#2E30A3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.180 H 273.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2E30A3
RGBrgb(46, 48, 163)
HSLhsl(239, 56%, 41%)
HSVhsv(239, 72%, 64%)
CMYKcmyk(71.8%, 70.6%, 0%, 36.1%)
CIE-LABlab(27.68, 37.87, -61.97)
CIE-LCHlch(27.68, 72.62, 301.43°)
OKLaboklab(39.23% 0.0114 -0.1792)
OKLCHoklch(39.23% 0.18 273.6)
XYZxyz(8.7923, 5.3382, 35.2103)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30A3 #A3A12E
analogous
#2E6AA3 #2E30A3 #662EA3
triadic
#2E30A3 #A32E30 #30A32E
tetradic
#2E30A3 #A32E6A #A3A12E #2EA366
square
#2E30A3 #A32E6A #A3A12E #2EA366
split-complementary
#2E30A3 #A3662E #6AA32E
monochromatic
#131444 #212273 #2E30A3 #4446CA #7475D8

Accessibility & contrast

On white

10.16
#2E30A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E30A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30A3
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30A3#FFFFFF#000000##FFFFFF
##2E30A31.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e30a3;
/* rgb */ color: rgb(46, 48, 163);
/* oklch */ color: oklch(39.2% 0.180 273.6);
Tailwind
colors: {
  custom: {
    50: '#7869bf',
    500: '#2e30a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e30a3;
$custom-light: #7869bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30a3",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 238.974,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39234,
    "c": 0.17953,
    "h": 273.6
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#2E30A3
secondary
#BFBE6D
accent
#DD49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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