#2B30BA#2B30BA

#2B30BA is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.4% C 0.209 H 271.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2B30BA
RGBrgb(43, 48, 186)
HSLhsl(238, 62%, 45%)
HSVhsv(238, 77%, 73%)
CMYKcmyk(76.9%, 74.2%, 0%, 27.1%)
CIE-LABlab(29.84, 45.43, -72.18)
CIE-LCHlch(29.84, 85.29, 302.19°)
OKLaboklab(41.43% 0.0045 -0.209)
OKLCHoklch(41.43% 0.209 271.2)
XYZxyz(10.9131, 6.1715, 47.0609)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30BA #BAB52B
analogous
#2B78BA #2B30BA #6D2BBA
triadic
#2B30BA #BA2B30 #30BA2B
tetradic
#2B30BA #BA2B78 #BAB52B #2BBA6D
square
#2B30BA #BA2B78 #BAB52B #2BBA6D
split-complementary
#2B30BA #BA6D2B #78BA2B
monochromatic
#141657 #202388 #2B30BA #4C51D6 #7E82E1

Accessibility & contrast

On white

9.40
#2B30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30BA
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30BA#FFFFFF#000000##FFFFFF
##2B30BA1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#003FB8
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b30ba;
/* rgb */ color: rgb(43, 48, 186);
/* oklch */ color: oklch(41.4% 0.209 271.2);
Tailwind
colors: {
  custom: {
    50: '#7d6ad0',
    500: '#2b30ba',
    950: '#000000',
  },
}
SCSS
$custom: #2b30ba;
$custom-light: #7d6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30ba",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 237.902,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.20903,
    "h": 271.2
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#2B30BA
secondary
#CAC777
accent
#E042E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #2B30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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