#2B46BC#2B46BC

#2B46BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.188 H 267.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2B46BC
RGBrgb(43, 70, 188)
HSLhsl(229, 63%, 45%)
HSVhsv(229, 77%, 74%)
CMYKcmyk(77.1%, 62.8%, 0%, 26.3%)
CIE-LABlab(35.05, 32.59, -64.79)
CIE-LCHlch(35.05, 72.53, 296.70°)
OKLaboklab(45.27% -0.007 -0.1874)
OKLCHoklch(45.27% 0.188 267.9)
XYZxyz(12.2604, 8.5234, 48.5662)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46BC #BCA12B
analogous
#2B8EBC #2B46BC #592BBC
triadic
#2B46BC #BC2B46 #46BC2B
tetradic
#2B46BC #BC2B8E #BCA12B #2BBC59
square
#2B46BC #BC2B8E #BCA12B #2BBC59
split-complementary
#2B46BC #BC592B #8EBC2B
monochromatic
#142158 #20338A #2B46BC #4E67D6 #8092E2

Accessibility & contrast

On white

7.76
#2B46BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B46BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46BC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46BC#FFFFFF#000000##FFFFFF
##2B46BC1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b46bc;
/* rgb */ color: rgb(43, 70, 188);
/* oklch */ color: oklch(45.3% 0.188 267.9);
Tailwind
colors: {
  custom: {
    50: '#7b79d1',
    500: '#2b46bc',
    950: '#000000',
  },
}
SCSS
$custom: #2b46bc;
$custom-light: #7b79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46bc",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 228.828,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.18751,
    "h": 267.9
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#2B46BC
secondary
#CBBB78
accent
#C742E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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