#2B30C0#2B30C0

#2B30C0 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.216 H 270.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2B30C0
RGBrgb(43, 48, 192)
HSLhsl(238, 63%, 46%)
HSVhsv(238, 78%, 75%)
CMYKcmyk(77.6%, 75%, 0%, 24.7%)
CIE-LABlab(30.48, 47.43, -74.67)
CIE-LCHlch(30.48, 88.46, 302.42°)
OKLaboklab(42.07% 0.0035 -0.2162)
OKLCHoklch(42.07% 0.216 270.9)
XYZxyz(11.5644, 6.4320, 50.4910)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30C0 #C0BB2B
analogous
#2B7AC0 #2B30C0 #712BC0
triadic
#2B30C0 #C02B30 #30C02B
tetradic
#2B30C0 #C02B7A #C0BB2B #2BC071
square
#2B30C0 #C02B7A #C0BB2B #2BC071
split-complementary
#2B30C0 #C0712B #7AC02B
monochromatic
#15175C #20238E #2B30C0 #5055D8 #8286E3

Accessibility & contrast

On white

9.18
#2B30C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B30C0
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30C0#FFFFFF#000000##FFFFFF
##2B30C01.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC4
Deuteranopia (green-blind)
#0040BD
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b30c0;
/* rgb */ color: rgb(43, 48, 192);
/* oklch */ color: oklch(42.1% 0.216 270.9);
Tailwind
colors: {
  custom: {
    50: '#7e6ad4',
    500: '#2b30c0',
    950: '#000000',
  },
}
SCSS
$custom: #2b30c0;
$custom-light: #7e6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30c0",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 237.987,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.21625,
    "h": 270.9
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#2B30C0
secondary
#CCC97B
accent
#E141E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2B30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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