#2B3499#2B3499

#2B3499 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.163 H 272.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2B3499
RGBrgb(43, 52, 153)
HSLhsl(235, 56%, 38%)
HSVhsv(235, 72%, 60%)
CMYKcmyk(71.9%, 66%, 0%, 40%)
CIE-LABlab(27.49, 31.42, -56.21)
CIE-LCHlch(27.49, 64.40, 299.21°)
OKLaboklab(38.76% 0.0064 -0.1624)
OKLCHoklch(38.76% 0.163 272.2)
XYZxyz(7.9721, 5.2687, 30.7276)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3499 #99902B
analogous
#2B6B99 #2B3499 #592B99
triadic
#2B3499 #992B34 #34992B
tetradic
#2B3499 #992B6B #99902B #2B9959
square
#2B3499 #992B6B #99902B #2B9959
split-complementary
#2B3499 #99592B #6B992B
monochromatic
#101439 #1E2469 #2B3499 #3A45C8 #6972D5

Accessibility & contrast

On white

10.22
#2B3499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3499
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3499#FFFFFF#000000##FFFFFF
##2B34991.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3499;
/* rgb */ color: rgb(43, 52, 153);
/* oklch */ color: oklch(38.8% 0.163 272.2);
Tailwind
colors: {
  custom: {
    50: '#746bb8',
    500: '#2b3499',
    950: '#000000',
  },
}
SCSS
$custom: #2b3499;
$custom-light: #746bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3499",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 235.091,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38759,
    "c": 0.1625,
    "h": 272.2
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#2B3499
secondary
#BCB464
accent
#D348DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3499

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

Preview Lab → · Contrast checker → · Palette generator →

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