#2B419A#2B419A

#2B419A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.148 H 268.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2B419A
RGBrgb(43, 65, 154)
HSLhsl(228, 56%, 39%)
HSVhsv(228, 72%, 60%)
CMYKcmyk(72.1%, 57.8%, 0%, 39.6%)
CIE-LABlab(30.94, 23.15, -51.18)
CIE-LCHlch(30.94, 56.18, 294.34°)
OKLaboklab(41.34% -0.0036 -0.1475)
OKLCHoklch(41.34% 0.148 268.6)
XYZxyz(8.7173, 6.6264, 31.3852)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B419A #9A842B
analogous
#2B789A #2B419A #4C2B9A
triadic
#2B419A #9A2B41 #419A2B
tetradic
#2B419A #9A2B78 #9A842B #2B9A4C
square
#2B419A #9A2B78 #9A842B #2B9A4C
split-complementary
#2B419A #9A4C2B #789A2B
monochromatic
#10193A #1E2D6A #2B419A #3A56C8 #6A7FD5

Accessibility & contrast

On white

9.03
#2B419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B419A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B419A#FFFFFF#000000##FFFFFF
##2B419A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b419a;
/* rgb */ color: rgb(43, 65, 154);
/* oklch */ color: oklch(41.3% 0.148 268.6);
Tailwind
colors: {
  custom: {
    50: '#7475b8',
    500: '#2b419a',
    950: '#000000',
  },
}
SCSS
$custom: #2b419a;
$custom-light: #7475b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b419a",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 228.108,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.14754,
    "h": 268.6
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#2B419A
secondary
#BCAB65
accent
#C248E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B419A

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

Preview Lab → · Contrast checker → · Palette generator →

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