#2B3686#2B3686

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

Color values

HEX#2B3686
RGBrgb(43, 54, 134)
HSLhsl(233, 51%, 35%)
HSVhsv(233, 68%, 53%)
CMYKcmyk(67.9%, 59.7%, 0%, 47.5%)
CIE-LABlab(26.37, 23.07, -46.31)
CIE-LCHlch(26.37, 51.73, 296.48°)
OKLaboklab(37.43% 0.0054 -0.1333)
OKLCHoklch(37.43% 0.133 272.3)
XYZxyz(6.6171, 4.8726, 23.1414)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3686 #867B2B
analogous
#2B6486 #2B3686 #4D2B86
triadic
#2B3686 #862B36 #36862B
tetradic
#2B3686 #862B64 #867B2B #2B864D
square
#2B3686 #862B64 #867B2B #2B864D
split-complementary
#2B3686 #864D2B #64862B
monochromatic
#0D1129 #1C2358 #2B3686 #3A49B4 #606DCC

Accessibility & contrast

On white

10.64
#2B3686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B3686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3686
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3686#FFFFFF#000000##FFFFFF
##2B36861.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3686;
/* rgb */ color: rgb(43, 54, 134);
/* oklch */ color: oklch(37.4% 0.133 272.3);
Tailwind
colors: {
  custom: {
    50: '#706caa',
    500: '#2b3686',
    950: '#000000',
  },
}
SCSS
$custom: #2b3686;
$custom-light: #706caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3686",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 232.747,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37426,
    "c": 0.13341,
    "h": 272.3
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3686

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

Preview Lab → · Contrast checker → · Palette generator →

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