#2B3487#2B3487

#2B3487 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.138 H 273.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2B3487
RGBrgb(43, 52, 135)
HSLhsl(234, 52%, 35%)
HSVhsv(234, 68%, 53%)
CMYKcmyk(68.1%, 61.5%, 0%, 47.1%)
CIE-LABlab(25.92, 24.80, -47.66)
CIE-LCHlch(25.92, 53.73, 297.48°)
OKLaboklab(37.12% 0.0072 -0.1373)
OKLCHoklch(37.12% 0.138 273)
XYZxyz(6.5960, 4.7183, 23.4801)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3487 #877E2B
analogous
#2B6287 #2B3487 #502B87
triadic
#2B3487 #872B34 #34872B
tetradic
#2B3487 #872B62 #877E2B #2B8750
square
#2B3487 #872B62 #877E2B #2B8750
split-complementary
#2B3487 #87502B #62872B
monochromatic
#0D102A #1C2259 #2B3487 #3A46B5 #606BCC

Accessibility & contrast

On white

10.80
#2B3487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B3487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3487
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3487#FFFFFF#000000##FFFFFF
##2B34871.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b3487;
/* rgb */ color: rgb(43, 52, 135);
/* oklch */ color: oklch(37.1% 0.138 273.0);
Tailwind
colors: {
  custom: {
    50: '#706bab',
    500: '#2b3487',
    950: '#000000',
  },
}
SCSS
$custom: #2b3487;
$custom-light: #706bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3487",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 234.13,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37116,
    "c": 0.1375,
    "h": 273
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#2B3487
secondary
#B2AA5B
accent
#CD4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3487

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

Preview Lab → · Contrast checker → · Palette generator →

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