#2B46A4#2B46A4

#2B46A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.155 H 267.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2B46A4
RGBrgb(43, 70, 164)
HSLhsl(227, 58%, 41%)
HSVhsv(227, 74%, 64%)
CMYKcmyk(73.8%, 57.3%, 0%, 35.7%)
CIE-LABlab(33.08, 23.59, -53.75)
CIE-LCHlch(33.08, 58.70, 293.70°)
OKLaboklab(43.19% -0.0072 -0.155)
OKLCHoklch(43.19% 0.155 267.3)
XYZxyz(9.8849, 7.5732, 36.0556)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46A4 #A4892B
analogous
#2B82A4 #2B46A4 #4D2BA4
triadic
#2B46A4 #A42B46 #46A42B
tetradic
#2B46A4 #A42B82 #A4892B #2BA44D
square
#2B46A4 #A42B82 #A4892B #2BA44D
split-complementary
#2B46A4 #A44D2B #82A42B
monochromatic
#121D43 #1E3174 #2B46A4 #3F5FCD #7087D9

Accessibility & contrast

On white

8.35
#2B46A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B46A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46A4
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46A4#FFFFFF#000000##FFFFFF
##2B46A41.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b46a4;
/* rgb */ color: rgb(43, 70, 164);
/* oklch */ color: oklch(43.2% 0.155 267.3);
Tailwind
colors: {
  custom: {
    50: '#7679c0',
    500: '#2b46a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b46a4;
$custom-light: #7679c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46a4",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 226.612,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4319,
    "c": 0.15514,
    "h": 267.3
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#2B46A4
secondary
#C1AD6A
accent
#BF46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B46A4

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

Preview Lab → · Contrast checker → · Palette generator →

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