#2B46B5#2B46B5

#2B46B5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.178 H 267.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2B46B5
RGBrgb(43, 70, 181)
HSLhsl(228, 62%, 44%)
HSVhsv(228, 76%, 71%)
CMYKcmyk(76.2%, 61.3%, 0%, 29%)
CIE-LABlab(34.45, 29.99, -61.64)
CIE-LCHlch(34.45, 68.55, 295.95°)
OKLaboklab(44.65% -0.0069 -0.1781)
OKLCHoklch(44.65% 0.178 267.8)
XYZxyz(11.5240, 8.2288, 44.6881)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46B5 #B59A2B
analogous
#2B8BB5 #2B46B5 #552BB5
triadic
#2B46B5 #B52B46 #46B52B
tetradic
#2B46B5 #B52B8B #B59A2B #2BB555
square
#2B46B5 #B52B8B #B59A2B #2BB555
split-complementary
#2B46B5 #B5552B #8BB52B
monochromatic
#142052 #1F3384 #2B46B5 #4964D4 #7B8FE0

Accessibility & contrast

On white

7.94
#2B46B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B46B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46B5
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46B5#FFFFFF#000000##FFFFFF
##2B46B51.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b46b5;
/* rgb */ color: rgb(43, 70, 181);
/* oklch */ color: oklch(44.6% 0.178 267.8);
Tailwind
colors: {
  custom: {
    50: '#7a79cc',
    500: '#2b46b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b46b5;
$custom-light: #7a79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46b5",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 181
  },
  "hsl": {
    "h": 228.261,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.17826,
    "h": 267.8
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#2B46B5
secondary
#C8B774
accent
#C543E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2B46B5

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

Preview Lab → · Contrast checker → · Palette generator →

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