#2B3486#2B3486

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

Color values

HEX#2B3486
RGBrgb(43, 52, 134)
HSLhsl(234, 51%, 35%)
HSVhsv(234, 68%, 53%)
CMYKcmyk(67.9%, 61.2%, 0%, 47.5%)
CIE-LABlab(25.83, 24.42, -47.18)
CIE-LCHlch(25.83, 53.12, 297.37°)
OKLaboklab(37.03% 0.0072 -0.1359)
OKLCHoklch(37.03% 0.136 273)
XYZxyz(6.5259, 4.6902, 23.1110)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3486 #867D2B
analogous
#2B6286 #2B3486 #502B86
triadic
#2B3486 #862B34 #34862B
tetradic
#2B3486 #862B62 #867D2B #2B8650
square
#2B3486 #862B62 #867D2B #2B8650
split-complementary
#2B3486 #86502B #62862B
monochromatic
#0D1029 #1C2258 #2B3486 #3A46B4 #606ACC

Accessibility & contrast

On white

10.83
#2B3486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3486
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3486#FFFFFF#000000##FFFFFF
##2B34861.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b3486;
/* rgb */ color: rgb(43, 52, 134);
/* oklch */ color: oklch(37.0% 0.136 273.0);
Tailwind
colors: {
  custom: {
    50: '#706baa',
    500: '#2b3486',
    950: '#000000',
  },
}
SCSS
$custom: #2b3486;
$custom-light: #706baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3486",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 234.066,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37029,
    "c": 0.13607,
    "h": 273
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3486

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

Preview Lab → · Contrast checker → · Palette generator →

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