#2B41A2#2B41A2

#2B41A2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.159 H 268.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2B41A2
RGBrgb(43, 65, 162)
HSLhsl(229, 58%, 40%)
HSVhsv(229, 73%, 64%)
CMYKcmyk(73.5%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.58, 26.18, -54.98)
CIE-LCHlch(31.58, 60.89, 295.46°)
OKLaboklab(42.02% -0.0034 -0.1587)
OKLCHoklch(42.02% 0.159 268.8)
XYZxyz(9.4059, 6.9018, 35.0119)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41A2 #A28C2B
analogous
#2B7CA2 #2B41A2 #512BA2
triadic
#2B41A2 #A22B41 #41A22B
tetradic
#2B41A2 #A22B7C #A28C2B #2BA251
square
#2B41A2 #A22B7C #A28C2B #2BA251
split-complementary
#2B41A2 #A2512B #7CA22B
monochromatic
#111A41 #1E2E72 #2B41A2 #3E59CC #6F82D9

Accessibility & contrast

On white

8.82
#2B41A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B41A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41A2
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41A2#FFFFFF#000000##FFFFFF
##2B41A21.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b41a2;
/* rgb */ color: rgb(43, 65, 162);
/* oklch */ color: oklch(42.0% 0.159 268.8);
Tailwind
colors: {
  custom: {
    50: '#7575be',
    500: '#2b41a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b41a2;
$custom-light: #7575be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41a2",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 228.908,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.15869,
    "h": 268.8
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#2B41A2
secondary
#C0B069
accent
#C547E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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