#2B3586#2B3586

#2B3586 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.135 H 272.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2B3586
RGBrgb(43, 53, 134)
HSLhsl(233, 51%, 35%)
HSVhsv(233, 68%, 53%)
CMYKcmyk(67.9%, 60.4%, 0%, 47.5%)
CIE-LABlab(26.10, 23.75, -46.74)
CIE-LCHlch(26.10, 52.43, 296.93°)
OKLaboklab(37.23% 0.0063 -0.1346)
OKLCHoklch(37.23% 0.135 272.7)
XYZxyz(6.5710, 4.7804, 23.1261)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3586 #867C2B
analogous
#2B6286 #2B3586 #4F2B86
triadic
#2B3586 #862B35 #35862B
tetradic
#2B3586 #862B62 #867C2B #2B864F
square
#2B3586 #862B62 #867C2B #2B864F
split-complementary
#2B3586 #864F2B #62862B
monochromatic
#0D1029 #1C2358 #2B3586 #3A47B4 #606BCC

Accessibility & contrast

On white

10.74
#2B3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3586
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3586#FFFFFF#000000##FFFFFF
##2B35861.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3586;
/* rgb */ color: rgb(43, 53, 134);
/* oklch */ color: oklch(37.2% 0.135 272.7);
Tailwind
colors: {
  custom: {
    50: '#706caa',
    500: '#2b3586',
    950: '#000000',
  },
}
SCSS
$custom: #2b3586;
$custom-light: #706caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3586",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 233.407,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37226,
    "c": 0.13474,
    "h": 272.7
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#2B3586
secondary
#B2A85B
accent
#CB4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3586

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

Preview Lab → · Contrast checker → · Palette generator →

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