#2B46A1#2B46A1

#2B46A1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.151 H 267.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2B46A1
RGBrgb(43, 70, 161)
HSLhsl(226, 58%, 40%)
HSVhsv(226, 73%, 63%)
CMYKcmyk(73.3%, 56.5%, 0%, 36.9%)
CIE-LABlab(32.85, 22.45, -52.32)
CIE-LCHlch(32.85, 56.94, 293.22°)
OKLaboklab(42.94% -0.0074 -0.1508)
OKLCHoklch(42.94% 0.151 267.2)
XYZxyz(9.6172, 7.4661, 34.6456)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46A1 #A1862B
analogous
#2B81A1 #2B46A1 #4B2BA1
triadic
#2B46A1 #A12B46 #46A12B
tetradic
#2B46A1 #A12B81 #A1862B #2BA14B
square
#2B46A1 #A12B81 #A1862B #2BA14B
split-complementary
#2B46A1 #A14B2B #81A12B
monochromatic
#111C40 #1E3171 #2B46A1 #3E5ECB #6E86D8

Accessibility & contrast

On white

8.42
#2B46A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B46A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46A1
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46A1#FFFFFF#000000##FFFFFF
##2B46A11.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b46a1;
/* rgb */ color: rgb(43, 70, 161);
/* oklch */ color: oklch(42.9% 0.151 267.2);
Tailwind
colors: {
  custom: {
    50: '#7579be',
    500: '#2b46a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b46a1;
$custom-light: #7579be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46a1",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 161
  },
  "hsl": {
    "h": 226.271,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.15095,
    "h": 267.2
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#2B46A1
secondary
#BFAB69
accent
#BE47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B46A1

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

Preview Lab → · Contrast checker → · Palette generator →

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