#2B3A84#2B3A84

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

Color values

HEX#2B3A84
RGBrgb(43, 58, 132)
HSLhsl(230, 51%, 34%)
HSVhsv(230, 67%, 52%)
CMYKcmyk(67.4%, 56.1%, 0%, 48.2%)
CIE-LABlab(27.31, 19.58, -43.53)
CIE-LCHlch(27.31, 47.73, 294.22°)
OKLaboklab(38.08% 0.0015 -0.1251)
OKLCHoklch(38.08% 0.125 270.7)
XYZxyz(6.6728, 5.2050, 22.4783)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A84 #84752B
analogous
#2B6784 #2B3A84 #492B84
triadic
#2B3A84 #842B3A #3A842B
tetradic
#2B3A84 #842B67 #84752B #2B8449
square
#2B3A84 #842B67 #84752B #2B8449
split-complementary
#2B3A84 #84492B #67842B
monochromatic
#0D1128 #1C2656 #2B3A84 #3A4EB2 #5F71CB

Accessibility & contrast

On white

10.29
#2B3A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B3A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A84
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A84#FFFFFF#000000##FFFFFF
##2B3A841.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034587
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3a84;
/* rgb */ color: rgb(43, 58, 132);
/* oklch */ color: oklch(38.1% 0.125 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f6fa8',
    500: '#2b3a84',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a84;
$custom-light: #6f6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a84",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 132
  },
  "hsl": {
    "h": 229.888,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38082,
    "c": 0.12509,
    "h": 270.7
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#2B3A84
secondary
#B1A25A
accent
#C34DDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3A84

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

Preview Lab → · Contrast checker → · Palette generator →

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