#2B46AC#2B46AC

#2B46AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.166 H 267.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2B46AC
RGBrgb(43, 70, 172)
HSLhsl(227, 60%, 42%)
HSVhsv(227, 75%, 67%)
CMYKcmyk(75%, 59.3%, 0%, 32.5%)
CIE-LABlab(33.71, 26.62, -57.50)
CIE-LCHlch(33.71, 63.37, 294.84°)
OKLaboklab(43.86% -0.007 -0.166)
OKLCHoklch(43.86% 0.166 267.6)
XYZxyz(10.6302, 7.8713, 39.9808)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46AC #AC912B
analogous
#2B87AC #2B46AC #512BAC
triadic
#2B46AC #AC2B46 #46AC2B
tetradic
#2B46AC #AC2B87 #AC912B #2BAC51
square
#2B46AC #AC2B87 #AC912B #2BAC51
split-complementary
#2B46AC #AC512B #87AC2B
monochromatic
#131E4A #1F327B #2B46AC #4461D0 #758BDC

Accessibility & contrast

On white

8.16
#2B46AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B46AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46AC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46AC#FFFFFF#000000##FFFFFF
##2B46AC1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b46ac;
/* rgb */ color: rgb(43, 70, 172);
/* oklch */ color: oklch(43.9% 0.166 267.6);
Tailwind
colors: {
  custom: {
    50: '#7779c6',
    500: '#2b46ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b46ac;
$custom-light: #7779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46ac",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 227.442,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43865,
    "c": 0.16615,
    "h": 267.6
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#2B46AC
secondary
#C4B26F
accent
#C245E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B46AC

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

Preview Lab → · Contrast checker → · Palette generator →

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