#2B41B3#2B41B3

#2B41B3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.182 H 268.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2B41B3
RGBrgb(43, 65, 179)
HSLhsl(230, 61%, 44%)
HSVhsv(230, 76%, 70%)
CMYKcmyk(76%, 63.7%, 0%, 29.8%)
CIE-LABlab(33.02, 32.51, -62.80)
CIE-LCHlch(33.02, 70.71, 297.37°)
OKLaboklab(43.54% -0.0036 -0.1816)
OKLCHoklch(43.54% 0.182 268.8)
XYZxyz(11.0204, 7.5477, 43.5151)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41B3 #B39D2B
analogous
#2B85B3 #2B41B3 #592BB3
triadic
#2B41B3 #B32B41 #41B32B
tetradic
#2B41B3 #B32B85 #B39D2B #2BB359
square
#2B41B3 #B32B85 #B39D2B #2BB359
split-complementary
#2B41B3 #B3592B #85B32B
monochromatic
#131D50 #1F2F82 #2B41B3 #485FD3 #798ADF

Accessibility & contrast

On white

8.37
#2B41B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B41B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41B3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41B3#FFFFFF#000000##FFFFFF
##2B41B31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b41b3;
/* rgb */ color: rgb(43, 65, 179);
/* oklch */ color: oklch(43.5% 0.182 268.8);
Tailwind
colors: {
  custom: {
    50: '#7975cb',
    500: '#2b41b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b41b3;
$custom-light: #7975cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41b3",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 230.294,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43535,
    "c": 0.18162,
    "h": 268.8
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#2B41B3
secondary
#C7B973
accent
#CA43E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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