#2B3687#2B3687

#2B3687 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.135 H 272.3°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2B3687
RGBrgb(43, 54, 135)
HSLhsl(233, 52%, 35%)
HSVhsv(233, 68%, 53%)
CMYKcmyk(68.1%, 60%, 0%, 47.1%)
CIE-LABlab(26.45, 23.44, -46.80)
CIE-LCHlch(26.45, 52.34, 296.61°)
OKLaboklab(37.51% 0.0054 -0.1347)
OKLCHoklch(37.51% 0.135 272.3)
XYZxyz(6.6871, 4.9006, 23.5105)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3687 #877C2B
analogous
#2B6487 #2B3687 #4E2B87
triadic
#2B3687 #872B36 #36872B
tetradic
#2B3687 #872B64 #877C2B #2B874E
square
#2B3687 #872B64 #877C2B #2B874E
split-complementary
#2B3687 #874E2B #64872B
monochromatic
#0D112A #1C2359 #2B3687 #3A49B5 #606DCC

Accessibility & contrast

On white

10.60
#2B3687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B3687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3687
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3687#FFFFFF#000000##FFFFFF
##2B36871.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3687;
/* rgb */ color: rgb(43, 54, 135);
/* oklch */ color: oklch(37.5% 0.135 272.3);
Tailwind
colors: {
  custom: {
    50: '#706cab',
    500: '#2b3687',
    950: '#000000',
  },
}
SCSS
$custom: #2b3687;
$custom-light: #706cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3687",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 232.826,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.13485,
    "h": 272.3
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#2B3687
secondary
#B2A85B
accent
#CA4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3687

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

Preview Lab → · Contrast checker → · Palette generator →

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