#2B46A2#2B46A2

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

Color values

HEX#2B46A2
RGBrgb(43, 70, 162)
HSLhsl(226, 58%, 40%)
HSVhsv(226, 73%, 64%)
CMYKcmyk(73.5%, 56.8%, 0%, 36.5%)
CIE-LABlab(32.92, 22.83, -52.80)
CIE-LCHlch(32.92, 57.53, 293.38°)
OKLaboklab(43.02% -0.0073 -0.1522)
OKLCHoklch(43.02% 0.152 267.2)
XYZxyz(9.7057, 7.5015, 35.1118)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46A2 #A2872B
analogous
#2B81A2 #2B46A2 #4C2BA2
triadic
#2B46A2 #A22B46 #46A22B
tetradic
#2B46A2 #A22B81 #A2872B #2BA24C
square
#2B46A2 #A22B81 #A2872B #2BA24C
split-complementary
#2B46A2 #A24C2B #81A22B
monochromatic
#111C41 #1E3172 #2B46A2 #3E5ECC #6F87D9

Accessibility & contrast

On white

8.40
#2B46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2B46A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46A2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46A2#FFFFFF#000000##FFFFFF
##2B46A21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b46a2;
/* rgb */ color: rgb(43, 70, 162);
/* oklch */ color: oklch(43.0% 0.152 267.2);
Tailwind
colors: {
  custom: {
    50: '#7579be',
    500: '#2b46a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b46a2;
$custom-light: #7579be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46a2",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 226.387,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43024,
    "c": 0.15235,
    "h": 267.2
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#2B46A2
secondary
#C0AC69
accent
#BE47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B46A2

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

Preview Lab → · Contrast checker → · Palette generator →

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