#2B41B4#2B41B4

#2B41B4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.183 H 268.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2B41B4
RGBrgb(43, 65, 180)
HSLhsl(230, 61%, 44%)
HSVhsv(230, 76%, 71%)
CMYKcmyk(76.1%, 63.9%, 0%, 29.4%)
CIE-LABlab(33.11, 32.88, -63.25)
CIE-LCHlch(33.11, 71.28, 297.47°)
OKLaboklab(43.63% -0.0037 -0.1829)
OKLCHoklch(43.63% 0.183 268.8)
XYZxyz(11.1219, 7.5883, 44.0497)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41B4 #B49E2B
analogous
#2B85B4 #2B41B4 #592BB4
triadic
#2B41B4 #B42B41 #41B42B
tetradic
#2B41B4 #B42B85 #B49E2B #2BB459
square
#2B41B4 #B42B85 #B49E2B #2BB459
split-complementary
#2B41B4 #B4592B #85B42B
monochromatic
#131D51 #1F2F83 #2B41B4 #495FD3 #7A8ADF

Accessibility & contrast

On white

8.34
#2B41B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2B41B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41B4
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41B4#FFFFFF#000000##FFFFFF
##2B41B41.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b41b4;
/* rgb */ color: rgb(43, 65, 180);
/* oklch */ color: oklch(43.6% 0.183 268.8);
Tailwind
colors: {
  custom: {
    50: '#7a75cb',
    500: '#2b41b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b41b4;
$custom-light: #7a75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41b4",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 230.365,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43627,
    "c": 0.18293,
    "h": 268.8
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#2B41B4
secondary
#C7BA73
accent
#CB43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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