#2B3498#2B3498

#2B3498 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.161 H 272.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2B3498
RGBrgb(43, 52, 152)
HSLhsl(235, 56%, 38%)
HSVhsv(235, 72%, 60%)
CMYKcmyk(71.7%, 65.8%, 0%, 40.4%)
CIE-LABlab(27.40, 31.06, -55.75)
CIE-LCHlch(27.40, 63.81, 299.12°)
OKLaboklab(38.66% 0.0064 -0.161)
OKLCHoklch(38.66% 0.161 272.3)
XYZxyz(7.8898, 5.2358, 30.2945)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3498 #988F2B
analogous
#2B6A98 #2B3498 #582B98
triadic
#2B3498 #982B34 #34982B
tetradic
#2B3498 #982B6A #988F2B #2B9858
square
#2B3498 #982B6A #988F2B #2B9858
split-complementary
#2B3498 #98582B #6A982B
monochromatic
#101339 #1E2468 #2B3498 #3945C7 #6972D5

Accessibility & contrast

On white

10.26
#2B3498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B3498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3498
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3498#FFFFFF#000000##FFFFFF
##2B34981.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3498;
/* rgb */ color: rgb(43, 52, 152);
/* oklch */ color: oklch(38.7% 0.161 272.3);
Tailwind
colors: {
  custom: {
    50: '#746bb7',
    500: '#2b3498',
    950: '#000000',
  },
}
SCSS
$custom: #2b3498;
$custom-light: #746bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3498",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 235.046,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38664,
    "c": 0.16115,
    "h": 272.3
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#2B3498
secondary
#BBB464
accent
#D349DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3498

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

Preview Lab → · Contrast checker → · Palette generator →

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