#2B3286#2B3286

#2B3286 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.139 H 273.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2B3286
RGBrgb(43, 50, 134)
HSLhsl(235, 51%, 35%)
HSVhsv(235, 68%, 53%)
CMYKcmyk(67.9%, 62.7%, 0%, 47.5%)
CIE-LABlab(25.31, 25.77, -48.03)
CIE-LCHlch(25.31, 54.51, 298.22°)
OKLaboklab(36.64% 0.009 -0.1384)
OKLCHoklch(36.64% 0.139 273.7)
XYZxyz(6.4385, 4.5155, 23.0819)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3286 #867F2B
analogous
#2B5F86 #2B3286 #522B86
triadic
#2B3286 #862B32 #32862B
tetradic
#2B3286 #862B5F #867F2B #2B8652
square
#2B3286 #862B5F #867F2B #2B8652
split-complementary
#2B3286 #86522B #5F862B
monochromatic
#0D0F29 #1C2158 #2B3286 #3A43B4 #6068CC

Accessibility & contrast

On white

11.03
#2B3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3286
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3286#FFFFFF#000000##FFFFFF
##2B32861.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3286;
/* rgb */ color: rgb(43, 50, 134);
/* oklch */ color: oklch(36.6% 0.139 273.7);
Tailwind
colors: {
  custom: {
    50: '#706aaa',
    500: '#2b3286',
    950: '#000000',
  },
}
SCSS
$custom: #2b3286;
$custom-light: #706aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3286",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 235.385,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36639,
    "c": 0.13871,
    "h": 273.7
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#2B3286
secondary
#B2AB5B
accent
#D04DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3286

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

Preview Lab → · Contrast checker → · Palette generator →

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