#2B30A6#2B30A6

#2B30A6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.184 H 272.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2B30A6
RGBrgb(43, 48, 166)
HSLhsl(238, 59%, 41%)
HSVhsv(238, 74%, 65%)
CMYKcmyk(74.1%, 71.1%, 0%, 34.9%)
CIE-LABlab(27.79, 38.58, -63.61)
CIE-LCHlch(27.79, 74.39, 301.24°)
OKLaboklab(39.36% 0.0075 -0.184)
OKLCHoklch(39.36% 0.184 272.3)
XYZxyz(8.9338, 5.3798, 36.6366)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30A6 #A6A12B
analogous
#2B6DA6 #2B30A6 #632BA6
triadic
#2B30A6 #A62B30 #30A62B
tetradic
#2B30A6 #A62B6D #A6A12B #2BA663
square
#2B30A6 #A62B6D #A6A12B #2BA663
split-complementary
#2B30A6 #A6632B #6DA62B
monochromatic
#121445 #1E2275 #2B30A6 #4146CE #7175DA

Accessibility & contrast

On white

10.11
#2B30A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B30A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30A6
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30A6#FFFFFF#000000##FFFFFF
##2B30A61.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b30a6;
/* rgb */ color: rgb(43, 48, 166);
/* oklch */ color: oklch(39.4% 0.184 272.3);
Tailwind
colors: {
  custom: {
    50: '#7869c2',
    500: '#2b30a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b30a6;
$custom-light: #7869c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30a6",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 237.561,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39356,
    "c": 0.18416,
    "h": 272.3
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#2B30A6
secondary
#C1BE6B
accent
#DC46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B30A6

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

Preview Lab → · Contrast checker → · Palette generator →

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