#2B30BF#2B30BF

#2B30BF is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.215 H 271.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2B30BF
RGBrgb(43, 48, 191)
HSLhsl(238, 63%, 46%)
HSVhsv(238, 77%, 75%)
CMYKcmyk(77.5%, 74.9%, 0%, 25.1%)
CIE-LABlab(30.37, 47.10, -74.26)
CIE-LCHlch(30.37, 87.93, 302.38°)
OKLaboklab(41.97% 0.0037 -0.215)
OKLCHoklch(41.97% 0.215 271)
XYZxyz(11.4540, 6.3878, 49.9094)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30BF #BFBA2B
analogous
#2B7ABF #2B30BF #702BBF
triadic
#2B30BF #BF2B30 #30BF2B
tetradic
#2B30BF #BF2B7A #BFBA2B #2BBF70
square
#2B30BF #BF2B7A #BFBA2B #2BBF70
split-complementary
#2B30BF #BF702B #7ABF2B
monochromatic
#15175B #20238D #2B30BF #5054D8 #8285E3

Accessibility & contrast

On white

9.22
#2B30BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B30BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30BF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30BF#FFFFFF#000000##FFFFFF
##2B30BF1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC3
Deuteranopia (green-blind)
#0040BC
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b30bf;
/* rgb */ color: rgb(43, 48, 191);
/* oklch */ color: oklch(42.0% 0.215 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e6ad4',
    500: '#2b30bf',
    950: '#000000',
  },
}
SCSS
$custom: #2b30bf;
$custom-light: #7e6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30bf",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 237.973,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.21505,
    "h": 271
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#2B30BF
secondary
#CCC97A
accent
#E142E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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