#2B46B4#2B46B4

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

Color values

HEX#2B46B4
RGBrgb(43, 70, 180)
HSLhsl(228, 61%, 44%)
HSVhsv(228, 76%, 71%)
CMYKcmyk(76.1%, 61.1%, 0%, 29.4%)
CIE-LABlab(34.37, 29.62, -61.18)
CIE-LCHlch(34.37, 67.98, 295.83°)
OKLaboklab(44.56% -0.0069 -0.1768)
OKLCHoklch(44.56% 0.177 267.8)
XYZxyz(11.4218, 8.1879, 44.1496)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46B4 #B4992B
analogous
#2B8AB4 #2B46B4 #542BB4
triadic
#2B46B4 #B42B46 #46B42B
tetradic
#2B46B4 #B42B8A #B4992B #2BB454
square
#2B46B4 #B42B8A #B4992B #2BB454
split-complementary
#2B46B4 #B4542B #8AB42B
monochromatic
#132051 #1F3383 #2B46B4 #4964D3 #7A8EDF

Accessibility & contrast

On white

7.96
#2B46B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B46B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46B4
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46B4#FFFFFF#000000##FFFFFF
##2B46B41.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b46b4;
/* rgb */ color: rgb(43, 70, 180);
/* oklch */ color: oklch(44.6% 0.177 267.8);
Tailwind
colors: {
  custom: {
    50: '#7979cb',
    500: '#2b46b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b46b4;
$custom-light: #7979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46b4",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 180
  },
  "hsl": {
    "h": 228.175,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44559,
    "c": 0.17693,
    "h": 267.8
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B46B4

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

Preview Lab → · Contrast checker → · Palette generator →

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