#2B41BF#2B41BF

#2B41BF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.197 H 268.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2B41BF
RGBrgb(43, 65, 191)
HSLhsl(231, 63%, 46%)
HSVhsv(231, 77%, 75%)
CMYKcmyk(77.5%, 66%, 0%, 25.1%)
CIE-LABlab(34.10, 36.89, -68.12)
CIE-LCHlch(34.10, 77.47, 298.44°)
OKLaboklab(44.65% -0.0042 -0.1971)
OKLCHoklch(44.65% 0.197 268.8)
XYZxyz(12.2873, 8.0544, 50.1872)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41BF #BFA92B
analogous
#2B8BBF #2B41BF #5F2BBF
triadic
#2B41BF #BF2B41 #41BF2B
tetradic
#2B41BF #BF2B8B #BFA92B #2BBF5F
square
#2B41BF #BF2B8B #BFA92B #2BBF5F
split-complementary
#2B41BF #BF5F2B #8BBF2B
monochromatic
#151F5B #20308D #2B41BF #5064D8 #8290E3

Accessibility & contrast

On white

8.04
#2B41BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B41BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41BF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41BF#FFFFFF#000000##FFFFFF
##2B41BF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b41bf;
/* rgb */ color: rgb(43, 65, 191);
/* oklch */ color: oklch(44.7% 0.197 268.8);
Tailwind
colors: {
  custom: {
    50: '#7c75d3',
    500: '#2b41bf',
    950: '#000000',
  },
}
SCSS
$custom: #2b41bf;
$custom-light: #7c75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41bf",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 231.081,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44652,
    "c": 0.1972,
    "h": 268.8
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#2B41BF
secondary
#CCC07A
accent
#CE42E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2B41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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