#2B3A82#2B3A82

#2B3A82 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.122 H 270.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2B3A82
RGBrgb(43, 58, 130)
HSLhsl(230, 50%, 34%)
HSVhsv(230, 67%, 51%)
CMYKcmyk(66.9%, 55.4%, 0%, 49%)
CIE-LABlab(27.16, 18.82, -42.52)
CIE-LCHlch(27.16, 46.50, 293.88°)
OKLaboklab(37.92% 0.0014 -0.1221)
OKLCHoklch(37.92% 0.122 270.7)
XYZxyz(6.5372, 5.1508, 21.7645)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A82 #82732B
analogous
#2B6682 #2B3A82 #482B82
triadic
#2B3A82 #822B3A #3A822B
tetradic
#2B3A82 #822B66 #82732B #2B8248
square
#2B3A82 #822B66 #82732B #2B8248
split-complementary
#2B3A82 #82482B #66822B
monochromatic
#0D1126 #1C2554 #2B3A82 #3A4FB0 #5E70CA

Accessibility & contrast

On white

10.34
#2B3A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2B3A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A82
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A82#FFFFFF#000000##FFFFFF
##2B3A821.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084485
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3a82;
/* rgb */ color: rgb(43, 58, 130);
/* oklch */ color: oklch(37.9% 0.122 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f6fa7',
    500: '#2b3a82',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a82;
$custom-light: #6f6fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a82",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 229.655,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3792,
    "c": 0.12214,
    "h": 270.7
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#2B3A82
secondary
#B0A159
accent
#C24EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2B3A82

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

Preview Lab → · Contrast checker → · Palette generator →

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