#2B3587#2B3587

#2B3587 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.136 H 272.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2B3587
RGBrgb(43, 53, 135)
HSLhsl(233, 52%, 35%)
HSVhsv(233, 68%, 53%)
CMYKcmyk(68.1%, 60.7%, 0%, 47.1%)
CIE-LABlab(26.18, 24.12, -47.23)
CIE-LCHlch(26.18, 53.03, 297.05°)
OKLaboklab(37.31% 0.0063 -0.136)
OKLCHoklch(37.31% 0.136 272.6)
XYZxyz(6.6411, 4.8085, 23.4951)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3587 #877D2B
analogous
#2B6387 #2B3587 #4F2B87
triadic
#2B3587 #872B35 #35872B
tetradic
#2B3587 #872B63 #877D2B #2B874F
square
#2B3587 #872B63 #877D2B #2B874F
split-complementary
#2B3587 #874F2B #63872B
monochromatic
#0D112A #1C2359 #2B3587 #3A47B5 #606CCC

Accessibility & contrast

On white

10.70
#2B3587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3587
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3587#FFFFFF#000000##FFFFFF
##2B35871.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3587;
/* rgb */ color: rgb(43, 53, 135);
/* oklch */ color: oklch(37.3% 0.136 272.6);
Tailwind
colors: {
  custom: {
    50: '#706cab',
    500: '#2b3587',
    950: '#000000',
  },
}
SCSS
$custom: #2b3587;
$custom-light: #706cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3587",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 233.478,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37313,
    "c": 0.13617,
    "h": 272.6
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#2B3587
secondary
#B2A95B
accent
#CC4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3587

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

Preview Lab → · Contrast checker → · Palette generator →

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