#2A30BD#2A30BD

#2A30BD is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.213 H 270.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2A30BD
RGBrgb(42, 48, 189)
HSLhsl(238, 64%, 45%)
HSVhsv(238, 78%, 74%)
CMYKcmyk(77.8%, 74.6%, 0%, 25.9%)
CIE-LABlab(30.11, 46.35, -73.52)
CIE-LCHlch(30.11, 86.91, 302.23°)
OKLaboklab(41.7% 0.0029 -0.2129)
OKLCHoklch(41.7% 0.213 270.8)
XYZxyz(11.1940, 6.2790, 48.7563)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A30BD #BDB72A
analogous
#2A79BD #2A30BD #6D2ABD
triadic
#2A30BD #BD2A30 #30BD2A
tetradic
#2A30BD #BD2A79 #BDB72A #2ABD6D
square
#2A30BD #BD2A79 #BDB72A #2ABD6D
split-complementary
#2A30BD #BD6D2A #79BD2A
monochromatic
#141759 #1F238B #2A30BD #4D52D7 #7F83E3

Accessibility & contrast

On white

9.31
#2A30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A30BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A30BD
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A30BD#FFFFFF#000000##FFFFFF
##2A30BD1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a30bd;
/* rgb */ color: rgb(42, 48, 189);
/* oklch */ color: oklch(41.7% 0.213 270.8);
Tailwind
colors: {
  custom: {
    50: '#7d6ad2',
    500: '#2a30bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a30bd;
$custom-light: #7d6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a30bd",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 237.551,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.21291,
    "h": 270.8
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#2A30BD
secondary
#CBC878
accent
#E041E7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2A30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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