#2B41A0#2B41A0

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

Color values

HEX#2B41A0
RGBrgb(43, 65, 160)
HSLhsl(229, 58%, 40%)
HSVhsv(229, 73%, 63%)
CMYKcmyk(73.1%, 59.4%, 0%, 37.3%)
CIE-LABlab(31.42, 25.42, -54.04)
CIE-LCHlch(31.42, 59.72, 295.19°)
OKLaboklab(41.85% -0.0035 -0.1559)
OKLCHoklch(41.85% 0.156 268.7)
XYZxyz(9.2295, 6.8313, 34.0830)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41A0 #A08A2B
analogous
#2B7BA0 #2B41A0 #502BA0
triadic
#2B41A0 #A02B41 #41A02B
tetradic
#2B41A0 #A02B7B #A08A2B #2BA050
square
#2B41A0 #A02B7B #A08A2B #2BA050
split-complementary
#2B41A0 #A0502B #7BA02B
monochromatic
#111A40 #1E2D70 #2B41A0 #3D58CB #6E82D8

Accessibility & contrast

On white

8.87
#2B41A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B41A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41A0
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41A0#FFFFFF#000000##FFFFFF
##2B41A01.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b41a0;
/* rgb */ color: rgb(43, 65, 160);
/* oklch */ color: oklch(41.9% 0.156 268.7);
Tailwind
colors: {
  custom: {
    50: '#7575bd',
    500: '#2b41a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b41a0;
$custom-light: #7575bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41a0",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 228.718,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.15592,
    "h": 268.7
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#2B41A0
secondary
#BFAE68
accent
#C447E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B41A0

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

Preview Lab → · Contrast checker → · Palette generator →

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