#2B419E#2B419E

#2B419E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.153 H 268.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2B419E
RGBrgb(43, 65, 158)
HSLhsl(229, 57%, 39%)
HSVhsv(229, 73%, 62%)
CMYKcmyk(72.8%, 58.9%, 0%, 38%)
CIE-LABlab(31.26, 24.67, -53.09)
CIE-LCHlch(31.26, 58.54, 294.92°)
OKLaboklab(41.68% -0.0035 -0.1531)
OKLCHoklch(41.68% 0.153 268.7)
XYZxyz(9.0560, 6.7619, 33.1690)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B419E #9E882B
analogous
#2B7B9E #2B419E #4F2B9E
triadic
#2B419E #9E2B41 #419E2B
tetradic
#2B419E #9E2B7B #9E882B #2B9E4F
square
#2B419E #9E2B7B #9E882B #2B9E4F
split-complementary
#2B419E #9E4F2B #7B9E2B
monochromatic
#11193E #1E2D6E #2B419E #3C57CA #6C81D7

Accessibility & contrast

On white

8.93
#2B419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B419E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B419E#FFFFFF#000000##FFFFFF
##2B419E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b419e;
/* rgb */ color: rgb(43, 65, 158);
/* oklch */ color: oklch(41.7% 0.153 268.7);
Tailwind
colors: {
  custom: {
    50: '#7475bb',
    500: '#2b419e',
    950: '#000000',
  },
}
SCSS
$custom: #2b419e;
$custom-light: #7475bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b419e",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 228.522,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41679,
    "c": 0.15314,
    "h": 268.7
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#2B419E
secondary
#BEAD67
accent
#C347E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B419E

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

Preview Lab → · Contrast checker → · Palette generator →

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