#2B3282#2B3282

#2B3282 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.133 H 273.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2B3282
RGBrgb(43, 50, 130)
HSLhsl(235, 50%, 34%)
HSVhsv(235, 67%, 51%)
CMYKcmyk(66.9%, 61.5%, 0%, 49%)
CIE-LABlab(24.97, 24.29, -46.08)
CIE-LCHlch(24.97, 52.09, 297.80°)
OKLaboklab(36.29% 0.0091 -0.1327)
OKLCHoklch(36.29% 0.133 273.9)
XYZxyz(6.1648, 4.4060, 21.6403)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3282 #827B2B
analogous
#2B5E82 #2B3282 #502B82
triadic
#2B3282 #822B32 #32822B
tetradic
#2B3282 #822B5E #827B2B #2B8250
square
#2B3282 #822B5E #827B2B #2B8250
split-complementary
#2B3282 #82502B #5E822B
monochromatic
#0D0F26 #1C2054 #2B3282 #3A44B0 #5E66CA

Accessibility & contrast

On white

11.16
#2B3282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B3282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3282
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3282#FFFFFF#000000##FFFFFF
##2B32821.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3282;
/* rgb */ color: rgb(43, 50, 130);
/* oklch */ color: oklch(36.3% 0.133 273.9);
Tailwind
colors: {
  custom: {
    50: '#6f69a7',
    500: '#2b3282',
    950: '#000000',
  },
}
SCSS
$custom: #2b3282;
$custom-light: #6f69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3282",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 235.172,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36285,
    "c": 0.13298,
    "h": 273.9
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#2B3282
secondary
#B0A959
accent
#CF4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B3282

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

Preview Lab → · Contrast checker → · Palette generator →

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