#2B419B#2B419B

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

Color values

HEX#2B419B
RGBrgb(43, 65, 155)
HSLhsl(228, 57%, 39%)
HSVhsv(228, 72%, 61%)
CMYKcmyk(72.3%, 58.1%, 0%, 39.2%)
CIE-LABlab(31.02, 23.53, -51.66)
CIE-LCHlch(31.02, 56.77, 294.49°)
OKLaboklab(41.43% -0.0036 -0.1489)
OKLCHoklch(41.43% 0.149 268.6)
XYZxyz(8.8009, 6.6598, 31.8256)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B419B #9B852B
analogous
#2B799B #2B419B #4D2B9B
triadic
#2B419B #9B2B41 #419B2B
tetradic
#2B419B #9B2B79 #9B852B #2B9B4D
square
#2B419B #9B2B79 #9B852B #2B9B4D
split-complementary
#2B419B #9B4D2B #799B2B
monochromatic
#10193B #1E2D6B #2B419B #3B57C9 #6B80D6

Accessibility & contrast

On white

9.00
#2B419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B419B
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B419B#FFFFFF#000000##FFFFFF
##2B419B1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b419b;
/* rgb */ color: rgb(43, 65, 155);
/* oklch */ color: oklch(41.4% 0.149 268.6);
Tailwind
colors: {
  custom: {
    50: '#7475b9',
    500: '#2b419b',
    950: '#000000',
  },
}
SCSS
$custom: #2b419b;
$custom-light: #7475b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b419b",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 228.214,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41426,
    "c": 0.14894,
    "h": 268.6
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B419B

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

Preview Lab → · Contrast checker → · Palette generator →

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