#2E30A2#2E30A2

#2E30A2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.178 H 273.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2E30A2
RGBrgb(46, 48, 162)
HSLhsl(239, 56%, 41%)
HSVhsv(239, 72%, 64%)
CMYKcmyk(71.6%, 70.4%, 0%, 36.5%)
CIE-LABlab(27.58, 37.52, -61.53)
CIE-LCHlch(27.58, 72.06, 301.37°)
OKLaboklab(39.13% 0.0116 -0.1779)
OKLCHoklch(39.13% 0.178 273.7)
XYZxyz(8.7031, 5.3025, 34.7402)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30A2 #A2A02E
analogous
#2E6AA2 #2E30A2 #662EA2
triadic
#2E30A2 #A22E30 #30A22E
tetradic
#2E30A2 #A22E6A #A2A02E #2EA266
square
#2E30A2 #A22E6A #A2A02E #2EA266
split-complementary
#2E30A2 #A2662E #6AA22E
monochromatic
#131443 #202272 #2E30A2 #4346CA #7375D7

Accessibility & contrast

On white

10.19
#2E30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E30A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30A2
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30A2#FFFFFF#000000##FFFFFF
##2E30A21.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e30a2;
/* rgb */ color: rgb(46, 48, 162);
/* oklch */ color: oklch(39.1% 0.178 273.7);
Tailwind
colors: {
  custom: {
    50: '#7869bf',
    500: '#2e30a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e30a2;
$custom-light: #7869bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30a2",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 238.966,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39134,
    "c": 0.17824,
    "h": 273.7
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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