#2B46AD#2B46AD

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

Color values

HEX#2B46AD
RGBrgb(43, 70, 173)
HSLhsl(228, 60%, 42%)
HSVhsv(228, 75%, 68%)
CMYKcmyk(75.1%, 59.5%, 0%, 32.2%)
CIE-LABlab(33.79, 26.99, -57.97)
CIE-LCHlch(33.79, 63.95, 294.97°)
OKLaboklab(43.95% -0.0069 -0.1674)
OKLCHoklch(43.95% 0.168 267.6)
XYZxyz(10.7266, 7.9099, 40.4885)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46AD #AD922B
analogous
#2B87AD #2B46AD #512BAD
triadic
#2B46AD #AD2B46 #46AD2B
tetradic
#2B46AD #AD2B87 #AD922B #2BAD51
square
#2B46AD #AD2B87 #AD922B #2BAD51
split-complementary
#2B46AD #AD512B #87AD2B
monochromatic
#131E4B #1F327C #2B46AD #4562D1 #768BDD

Accessibility & contrast

On white

8.13
#2B46AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B46AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46AD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46AD#FFFFFF#000000##FFFFFF
##2B46AD1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b46ad;
/* rgb */ color: rgb(43, 70, 173);
/* oklch */ color: oklch(44.0% 0.168 267.6);
Tailwind
colors: {
  custom: {
    50: '#7879c6',
    500: '#2b46ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b46ad;
$custom-light: #7879c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46ad",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 227.538,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.1675,
    "h": 267.6
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#2B46AD
secondary
#C4B36F
accent
#C244E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B46AD

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

Preview Lab → · Contrast checker → · Palette generator →

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