#2E30BC#2E30BC

#2E30BC is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.211 H 272.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2E30BC
RGBrgb(46, 48, 188)
HSLhsl(239, 61%, 46%)
HSVhsv(239, 76%, 74%)
CMYKcmyk(75.5%, 74.5%, 0%, 26.3%)
CIE-LABlab(30.22, 46.34, -72.74)
CIE-LCHlch(30.22, 86.24, 302.50°)
OKLaboklab(41.81% 0.0075 -0.2105)
OKLCHoklch(41.81% 0.211 272)
XYZxyz(11.2577, 6.3244, 48.1946)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E30BC #BCBA2E
analogous
#2E77BC #2E30BC #732EBC
triadic
#2E30BC #BC2E30 #30BC2E
tetradic
#2E30BC #BC2E77 #BCBA2E #2EBC73
square
#2E30BC #BC2E77 #BCBA2E #2EBC73
split-complementary
#2E30BC #BC732E #77BC2E
monochromatic
#16175A #22238B #2E30BC #5254D5 #8485E1

Accessibility & contrast

On white

9.27
#2E30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E30BC
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E30BC#FFFFFF#000000##FFFFFF
##2E30BC1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e30bc;
/* rgb */ color: rgb(46, 48, 188);
/* oklch */ color: oklch(41.8% 0.211 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e6ad1',
    500: '#2e30bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e30bc;
$custom-light: #7e6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e30bc",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 239.155,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41808,
    "c": 0.21067,
    "h": 272
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#2E30BC
secondary
#CAC97C
accent
#E244E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2E30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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