#2B41A9#2B41A9

#2B41A9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.168 H 268.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2B41A9
RGBrgb(43, 65, 169)
HSLhsl(230, 59%, 42%)
HSVhsv(230, 75%, 66%)
CMYKcmyk(74.6%, 61.5%, 0%, 33.7%)
CIE-LABlab(32.16, 28.80, -58.24)
CIE-LCHlch(32.16, 64.97, 296.31°)
OKLaboklab(42.64% -0.0034 -0.1682)
OKLCHoklch(42.64% 0.168 268.8)
XYZxyz(10.0455, 7.1577, 38.3806)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41A9 #A9932B
analogous
#2B80A9 #2B41A9 #542BA9
triadic
#2B41A9 #A92B41 #41A92B
tetradic
#2B41A9 #A92B80 #A9932B #2BA954
square
#2B41A9 #A92B80 #A9932B #2BA954
split-complementary
#2B41A9 #A9542B #80A92B
monochromatic
#121B47 #1F2E78 #2B41A9 #425BCF #7385DB

Accessibility & contrast

On white

8.64
#2B41A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B41A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41A9
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41A9#FFFFFF#000000##FFFFFF
##2B41A91.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b41a9;
/* rgb */ color: rgb(43, 65, 169);
/* oklch */ color: oklch(42.6% 0.168 268.8);
Tailwind
colors: {
  custom: {
    50: '#7775c3',
    500: '#2b41a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b41a9;
$custom-light: #7775c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41a9",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 229.524,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.16825,
    "h": 268.8
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#2B41A9
secondary
#C3B46D
accent
#C745E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B41A9

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

Preview Lab → · Contrast checker → · Palette generator →

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