#2B419D#2B419D

#2B419D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.152 H 268.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B419D
RGBrgb(43, 65, 157)
HSLhsl(228, 57%, 39%)
HSVhsv(228, 73%, 62%)
CMYKcmyk(72.6%, 58.6%, 0%, 38.4%)
CIE-LABlab(31.18, 24.29, -52.62)
CIE-LCHlch(31.18, 57.95, 294.78°)
OKLaboklab(41.59% -0.0035 -0.1517)
OKLCHoklch(41.59% 0.152 268.7)
XYZxyz(8.9703, 6.7276, 32.7176)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B419D #9D872B
analogous
#2B7A9D #2B419D #4E2B9D
triadic
#2B419D #9D2B41 #419D2B
tetradic
#2B419D #9D2B7A #9D872B #2B9D4E
square
#2B419D #9D2B7A #9D872B #2B9D4E
split-complementary
#2B419D #9D4E2B #7A9D2B
monochromatic
#11193D #1E2D6D #2B419D #3C57CA #6C80D7

Accessibility & contrast

On white

8.95
#2B419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B419D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B419D#FFFFFF#000000##FFFFFF
##2B419D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b419d;
/* rgb */ color: rgb(43, 65, 157);
/* oklch */ color: oklch(41.6% 0.152 268.7);
Tailwind
colors: {
  custom: {
    50: '#7475bb',
    500: '#2b419d',
    950: '#000000',
  },
}
SCSS
$custom: #2b419d;
$custom-light: #7475bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b419d",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 228.421,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41594,
    "c": 0.15175,
    "h": 268.7
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#2B419D
secondary
#BDAD66
accent
#C348E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B419D

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

Preview Lab → · Contrast checker → · Palette generator →

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