#2B2D86#2B2D86

#2B2D86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.145 H 275.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2B2D86
RGBrgb(43, 45, 134)
HSLhsl(239, 51%, 35%)
HSVhsv(239, 68%, 53%)
CMYKcmyk(67.9%, 66.4%, 0%, 47.5%)
CIE-LABlab(24.04, 29.10, -50.11)
CIE-LCHlch(24.04, 57.95, 300.15°)
OKLaboklab(35.71% 0.0132 -0.1446)
OKLCHoklch(35.71% 0.145 275.2)
XYZxyz(6.2363, 4.1110, 23.0145)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D86 #86842B
analogous
#2B5B86 #2B2D86 #562B86
triadic
#2B2D86 #862B2D #2D862B
tetradic
#2B2D86 #862B5B #86842B #2B8656
square
#2B2D86 #862B5B #86842B #2B8656
split-complementary
#2B2D86 #86562B #5B862B
monochromatic
#0D0E29 #1C1D58 #2B2D86 #3A3DB4 #6062CC

Accessibility & contrast

On white

11.52
#2B2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D86
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D86#FFFFFF#000000##FFFFFF
##2B2D861.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2d86;
/* rgb */ color: rgb(43, 45, 134);
/* oklch */ color: oklch(35.7% 0.145 275.2);
Tailwind
colors: {
  custom: {
    50: '#7166aa',
    500: '#2b2d86',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d86;
$custom-light: #7166aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d86",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 238.681,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35706,
    "c": 0.14515,
    "h": 275.2
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#2B2D86
secondary
#B2B05B
accent
#D84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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