#2E30BF#2E30BF

#2E30BF is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.214 H 271.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2E30BF
RGBrgb(46, 48, 191)
HSLhsl(239, 61%, 46%)
HSVhsv(239, 76%, 75%)
CMYKcmyk(75.9%, 74.9%, 0%, 25.1%)
CIE-LABlab(30.53, 47.33, -73.98)
CIE-LCHlch(30.53, 87.83, 302.61°)
OKLaboklab(42.13% 0.0069 -0.2142)
OKLCHoklch(42.13% 0.214 271.9)
XYZxyz(11.5845, 6.4551, 49.9155)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30BF #BFBD2E
analogous
#2E79BF #2E30BF #752EBF
triadic
#2E30BF #BF2E30 #30BF2E
tetradic
#2E30BF #BF2E79 #BFBD2E #2EBF75
square
#2E30BF #BF2E79 #BFBD2E #2EBF75
split-complementary
#2E30BF #BF752E #79BF2E
monochromatic
#16175C #22248E #2E30BF #5456D6 #8687E2

Accessibility & contrast

On white

9.17
#2E30BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E30BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30BF
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30BF#FFFFFF#000000##FFFFFF
##2E30BF1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC3
Deuteranopia (green-blind)
#0041BC
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e30bf;
/* rgb */ color: rgb(46, 48, 191);
/* oklch */ color: oklch(42.1% 0.214 271.9);
Tailwind
colors: {
  custom: {
    50: '#7f6ad4',
    500: '#2e30bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e30bf;
$custom-light: #7f6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30bf",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 239.172,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42126,
    "c": 0.21428,
    "h": 271.9
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#2E30BF
secondary
#CBCA7E
accent
#E244E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2E30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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