#2B41B6#2B41B6

#2B41B6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.186 H 268.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2B41B6
RGBrgb(43, 65, 182)
HSLhsl(231, 62%, 44%)
HSVhsv(231, 76%, 71%)
CMYKcmyk(76.4%, 64.3%, 0%, 28.6%)
CIE-LABlab(33.29, 33.61, -64.14)
CIE-LCHlch(33.29, 72.42, 297.66°)
OKLaboklab(43.81% -0.0038 -0.1855)
OKLCHoklch(43.81% 0.186 268.8)
XYZxyz(11.3271, 7.6703, 45.1304)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41B6 #B6A02B
analogous
#2B87B6 #2B41B6 #5B2BB6
triadic
#2B41B6 #B62B41 #41B62B
tetradic
#2B41B6 #B62B87 #B6A02B #2BB65B
square
#2B41B6 #B62B87 #B6A02B #2BB65B
split-complementary
#2B41B6 #B65B2B #87B62B
monochromatic
#141E53 #1F2F84 #2B41B6 #4A60D4 #7B8BE0

Accessibility & contrast

On white

8.29
#2B41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B41B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41B6
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41B6#FFFFFF#000000##FFFFFF
##2B41B61.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b41b6;
/* rgb */ color: rgb(43, 65, 182);
/* oklch */ color: oklch(43.8% 0.186 268.8);
Tailwind
colors: {
  custom: {
    50: '#7a75cd',
    500: '#2b41b6',
    950: '#000000',
  },
}
SCSS
$custom: #2b41b6;
$custom-light: #7a75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41b6",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 230.504,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43811,
    "c": 0.18556,
    "h": 268.8
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#2B41B6
secondary
#C8BB75
accent
#CB43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2B41B6

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

Preview Lab → · Contrast checker → · Palette generator →

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