#2B3D86#2B3D86

#2B3D86 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.124 H 269.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2B3D86
RGBrgb(43, 61, 134)
HSLhsl(228, 51%, 35%)
HSVhsv(228, 68%, 53%)
CMYKcmyk(67.9%, 54.5%, 0%, 47.5%)
CIE-LABlab(28.31, 18.28, -43.17)
CIE-LCHlch(28.31, 46.88, 292.95°)
OKLaboklab(38.88% -0.0012 -0.124)
OKLCHoklch(38.88% 0.124 269.4)
XYZxyz(6.9666, 5.5717, 23.2579)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D86 #86742B
analogous
#2B6B86 #2B3D86 #472B86
triadic
#2B3D86 #862B3D #3D862B
tetradic
#2B3D86 #862B6B #86742B #2B8647
square
#2B3D86 #862B6B #86742B #2B8647
split-complementary
#2B3D86 #86472B #6B862B
monochromatic
#0D1329 #1C2858 #2B3D86 #3A52B4 #6075CC

Accessibility & contrast

On white

9.93
#2B3D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B3D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D86
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D86#FFFFFF#000000##FFFFFF
##2B3D861.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4789
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3d86;
/* rgb */ color: rgb(43, 61, 134);
/* oklch */ color: oklch(38.9% 0.124 269.4);
Tailwind
colors: {
  custom: {
    50: '#6f72aa',
    500: '#2b3d86',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d86;
$custom-light: #6f72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d86",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 228.132,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38877,
    "c": 0.12398,
    "h": 269.4
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#2B3D86
secondary
#B2A15B
accent
#BF4DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3D86

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

Preview Lab → · Contrast checker → · Palette generator →

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