#2A30B3#2A30B3

#2A30B3 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.6% C 0.201 H 271.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2A30B3
RGBrgb(42, 48, 179)
HSLhsl(237, 62%, 43%)
HSVhsv(237, 77%, 70%)
CMYKcmyk(76.5%, 73.2%, 0%, 29.8%)
CIE-LABlab(29.06, 42.98, -69.32)
CIE-LCHlch(29.06, 81.56, 301.80°)
OKLaboklab(40.64% 0.0045 -0.2007)
OKLCHoklch(40.64% 0.201 271.3)
XYZxyz(10.1457, 5.8597, 43.2354)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A30B3 #B3AD2A
analogous
#2A74B3 #2A30B3 #682AB3
triadic
#2A30B3 #B32A30 #30B32A
tetradic
#2A30B3 #B32A74 #B3AD2A #2AB368
square
#2A30B3 #B32A74 #B3AD2A #2AB368
split-complementary
#2A30B3 #B3682A #74B32A
monochromatic
#131550 #1E2381 #2A30B3 #464DD4 #787DDF

Accessibility & contrast

On white

9.67
#2A30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A30B3
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A30B3#FFFFFF#000000##FFFFFF
##2A30B31.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a30b3;
/* rgb */ color: rgb(42, 48, 179);
/* oklch */ color: oklch(40.6% 0.201 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b6acb',
    500: '#2a30b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a30b3;
$custom-light: #7b6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a30b3",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 237.372,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40643,
    "c": 0.20073,
    "h": 271.3
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#2A30B3
secondary
#C7C372
accent
#DE43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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