#2B46AA#2B46AA

#2B46AA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.163 H 267.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2B46AA
RGBrgb(43, 70, 170)
HSLhsl(227, 60%, 42%)
HSVhsv(227, 75%, 67%)
CMYKcmyk(74.7%, 58.8%, 0%, 33.3%)
CIE-LABlab(33.55, 25.86, -56.57)
CIE-LCHlch(33.55, 62.20, 294.57°)
OKLaboklab(43.69% -0.007 -0.1633)
OKLCHoklch(43.69% 0.163 267.5)
XYZxyz(10.4396, 7.7951, 38.9768)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46AA #AA8F2B
analogous
#2B86AA #2B46AA #502BAA
triadic
#2B46AA #AA2B46 #46AA2B
tetradic
#2B46AA #AA2B86 #AA8F2B #2BAA50
square
#2B46AA #AA2B86 #AA8F2B #2BAA50
split-complementary
#2B46AA #AA502B #86AA2B
monochromatic
#121E48 #1F3279 #2B46AA #4361CF #748ADC

Accessibility & contrast

On white

8.21
#2B46AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B46AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46AA
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46AA#FFFFFF#000000##FFFFFF
##2B46AA1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b46aa;
/* rgb */ color: rgb(43, 70, 170);
/* oklch */ color: oklch(43.7% 0.163 267.5);
Tailwind
colors: {
  custom: {
    50: '#7779c4',
    500: '#2b46aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b46aa;
$custom-light: #7779c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46aa",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 227.244,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.16341,
    "h": 267.5
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#2B46AA
secondary
#C3B16E
accent
#C145E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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