#2B30B7#2B30B7

#2B30B7 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.205 H 271.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2B30B7
RGBrgb(43, 48, 183)
HSLhsl(238, 62%, 44%)
HSVhsv(238, 77%, 72%)
CMYKcmyk(76.5%, 73.8%, 0%, 28.2%)
CIE-LABlab(29.53, 44.42, -70.92)
CIE-LCHlch(29.53, 83.68, 302.06°)
OKLaboklab(41.12% 0.005 -0.2053)
OKLCHoklch(41.12% 0.205 271.4)
XYZxyz(10.5976, 6.0452, 45.3989)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30B7 #B7B22B
analogous
#2B76B7 #2B30B7 #6C2BB7
triadic
#2B30B7 #B72B30 #30B72B
tetradic
#2B30B7 #B72B76 #B7B22B #2BB76C
square
#2B30B7 #B72B76 #B7B22B #2BB76C
split-complementary
#2B30B7 #B76C2B #76B72B
monochromatic
#141654 #1F2385 #2B30B7 #4B50D5 #7C80E0

Accessibility & contrast

On white

9.51
#2B30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30B7
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30B7#FFFFFF#000000##FFFFFF
##2B30B71.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#003FB5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b30b7;
/* rgb */ color: rgb(43, 48, 183);
/* oklch */ color: oklch(41.1% 0.205 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c6ace',
    500: '#2b30b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b30b7;
$custom-light: #7c6ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30b7",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 237.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.20538,
    "h": 271.4
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#2B30B7
secondary
#C9C675
accent
#DF43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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