#2B419C#2B419C

#2B419C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.150 H 268.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2B419C
RGBrgb(43, 65, 156)
HSLhsl(228, 57%, 39%)
HSVhsv(228, 72%, 61%)
CMYKcmyk(72.4%, 58.3%, 0%, 38.8%)
CIE-LABlab(31.10, 23.91, -52.14)
CIE-LCHlch(31.10, 57.36, 294.64°)
OKLaboklab(41.51% -0.0036 -0.1503)
OKLCHoklch(41.51% 0.15 268.6)
XYZxyz(8.8852, 6.6936, 32.2698)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B419C #9C862B
analogous
#2B7A9C #2B419C #4E2B9C
triadic
#2B419C #9C2B41 #419C2B
tetradic
#2B419C #9C2B7A #9C862B #2B9C4E
square
#2B419C #9C2B7A #9C862B #2B9C4E
split-complementary
#2B419C #9C4E2B #7A9C2B
monochromatic
#11193C #1E2D6C #2B419C #3B57C9 #6B80D6

Accessibility & contrast

On white

8.98
#2B419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B419C
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B419C#FFFFFF#000000##FFFFFF
##2B419C1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b419c;
/* rgb */ color: rgb(43, 65, 156);
/* oklch */ color: oklch(41.5% 0.150 268.6);
Tailwind
colors: {
  custom: {
    50: '#7475ba',
    500: '#2b419c',
    950: '#000000',
  },
}
SCSS
$custom: #2b419c;
$custom-light: #7475ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b419c",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 228.319,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.15034,
    "h": 268.6
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#2B419C
secondary
#BDAC66
accent
#C248E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B419C

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

Preview Lab → · Contrast checker → · Palette generator →

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