#2B30C9#2B30C9

#2B30C9 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.0% C 0.227 H 270.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2B30C9
RGBrgb(43, 48, 201)
HSLhsl(238, 65%, 48%)
HSVhsv(238, 79%, 79%)
CMYKcmyk(78.6%, 76.1%, 0%, 21.2%)
CIE-LABlab(31.45, 50.38, -78.34)
CIE-LCHlch(31.45, 93.14, 302.74°)
OKLaboklab(43.05% 0.002 -0.2269)
OKLCHoklch(43.05% 0.227 270.5)
XYZxyz(12.5922, 6.8431, 55.9042)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30C9 #C9C42B
analogous
#2B7FC9 #2B30C9 #752BC9
triadic
#2B30C9 #C92B30 #30C92B
tetradic
#2B30C9 #C92B7F #C9C42B #2BC975
square
#2B30C9 #C92B7F #C9C42B #2BC975
split-complementary
#2B30C9 #C9752B #7FC92B
monochromatic
#151864 #202497 #2B30C9 #565ADB #898CE6

Accessibility & contrast

On white

8.86
#2B30C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B30C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30C9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30C9#FFFFFF#000000##FFFFFF
##2B30C91.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0042C6
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b30c9;
/* rgb */ color: rgb(43, 48, 201);
/* oklch */ color: oklch(43.0% 0.227 270.5);
Tailwind
colors: {
  custom: {
    50: '#806bdb',
    500: '#2b30c9',
    950: '#000000',
  },
}
SCSS
$custom: #2b30c9;
$custom-light: #806bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30c9",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 238.101,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.2269,
    "h": 270.5
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#2B30C9
secondary
#CFCD80
accent
#E240E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2B30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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