#2B3186#2B3186

#2B3186 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.140 H 274.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2B3186
RGBrgb(43, 49, 134)
HSLhsl(236, 51%, 35%)
HSVhsv(236, 68%, 53%)
CMYKcmyk(67.9%, 63.4%, 0%, 47.5%)
CIE-LABlab(25.05, 26.45, -48.46)
CIE-LCHlch(25.05, 55.20, 298.62°)
OKLaboklab(36.45% 0.0098 -0.1397)
OKLCHoklch(36.45% 0.14 274)
XYZxyz(6.3962, 4.4309, 23.0678)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3186 #86802B
analogous
#2B5F86 #2B3186 #532B86
triadic
#2B3186 #862B31 #31862B
tetradic
#2B3186 #862B5F #86802B #2B8653
square
#2B3186 #862B5F #86802B #2B8653
split-complementary
#2B3186 #86532B #5F862B
monochromatic
#0D0F29 #1C2058 #2B3186 #3A42B4 #6067CC

Accessibility & contrast

On white

11.13
#2B3186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B3186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3186
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3186#FFFFFF#000000##FFFFFF
##2B31861.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3186;
/* rgb */ color: rgb(43, 49, 134);
/* oklch */ color: oklch(36.4% 0.140 274.0);
Tailwind
colors: {
  custom: {
    50: '#7069aa',
    500: '#2b3186',
    950: '#000000',
  },
}
SCSS
$custom: #2b3186;
$custom-light: #7069aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3186",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 236.044,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36448,
    "c": 0.14002,
    "h": 274
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#2B3186
secondary
#B2AC5B
accent
#D24DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3186

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

Preview Lab → · Contrast checker → · Palette generator →

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