#2B3786#2B3786

#2B3786 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.132 H 271.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2B3786
RGBrgb(43, 55, 134)
HSLhsl(232, 51%, 35%)
HSVhsv(232, 68%, 53%)
CMYKcmyk(67.9%, 59%, 0%, 47.5%)
CIE-LABlab(26.64, 22.39, -45.87)
CIE-LCHlch(26.64, 51.04, 296.02°)
OKLaboklab(37.63% 0.0045 -0.132)
OKLCHoklch(37.63% 0.132 271.9)
XYZxyz(6.6641, 4.9666, 23.1571)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3786 #867A2B
analogous
#2B6586 #2B3786 #4D2B86
triadic
#2B3786 #862B37 #37862B
tetradic
#2B3786 #862B65 #867A2B #2B864D
square
#2B3786 #862B65 #867A2B #2B864D
split-complementary
#2B3786 #864D2B #65862B
monochromatic
#0D1129 #1C2458 #2B3786 #3A4AB4 #606ECC

Accessibility & contrast

On white

10.53
#2B3786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B3786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3786
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3786#FFFFFF#000000##FFFFFF
##2B37861.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3786;
/* rgb */ color: rgb(43, 55, 134);
/* oklch */ color: oklch(37.6% 0.132 271.9);
Tailwind
colors: {
  custom: {
    50: '#706daa',
    500: '#2b3786',
    950: '#000000',
  },
}
SCSS
$custom: #2b3786;
$custom-light: #706daa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3786",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 232.088,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37628,
    "c": 0.13206,
    "h": 271.9
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#2B3786
secondary
#B2A65B
accent
#C84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3786

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

Preview Lab → · Contrast checker → · Palette generator →

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