#2B3299#2B3299

#2B3299 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.165 H 272.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2B3299
RGBrgb(43, 50, 153)
HSLhsl(236, 56%, 38%)
HSVhsv(236, 72%, 60%)
CMYKcmyk(71.9%, 67.3%, 0%, 40%)
CIE-LABlab(27.00, 32.72, -57.01)
CIE-LCHlch(27.00, 65.73, 299.85°)
OKLaboklab(38.4% 0.0078 -0.1647)
OKLCHoklch(38.4% 0.165 272.7)
XYZxyz(7.8847, 5.0939, 30.6985)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3299 #99922B
analogous
#2B6999 #2B3299 #5B2B99
triadic
#2B3299 #992B32 #32992B
tetradic
#2B3299 #992B69 #99922B #2B995B
square
#2B3299 #992B69 #99922B #2B995B
split-complementary
#2B3299 #995B2B #69992B
monochromatic
#101339 #1E2269 #2B3299 #3A43C8 #6970D5

Accessibility & contrast

On white

10.40
#2B3299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B3299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3299
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3299#FFFFFF#000000##FFFFFF
##2B32991.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3299;
/* rgb */ color: rgb(43, 50, 153);
/* oklch */ color: oklch(38.4% 0.165 272.7);
Tailwind
colors: {
  custom: {
    50: '#756ab8',
    500: '#2b3299',
    950: '#000000',
  },
}
SCSS
$custom: #2b3299;
$custom-light: #756ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3299",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 236.182,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38404,
    "c": 0.1649,
    "h": 272.7
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#2B3299
secondary
#BCB664
accent
#D648DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3299

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

Preview Lab → · Contrast checker → · Palette generator →

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