#2B3899#2B3899

#2B3899 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.158 H 271.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2B3899
RGBrgb(43, 56, 153)
HSLhsl(233, 56%, 38%)
HSVhsv(233, 72%, 60%)
CMYKcmyk(71.9%, 63.4%, 0%, 40%)
CIE-LABlab(28.49, 28.80, -54.57)
CIE-LCHlch(28.49, 61.70, 297.82°)
OKLaboklab(39.49% 0.0034 -0.1575)
OKLCHoklch(39.49% 0.158 271.3)
XYZxyz(8.1583, 5.6410, 30.7897)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3899 #998C2B
analogous
#2B6F99 #2B3899 #552B99
triadic
#2B3899 #992B38 #38992B
tetradic
#2B3899 #992B6F #998C2B #2B9955
square
#2B3899 #992B6F #998C2B #2B9955
split-complementary
#2B3899 #99552B #6F992B
monochromatic
#101539 #1E2769 #2B3899 #3A4AC8 #6976D5

Accessibility & contrast

On white

9.87
#2B3899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B3899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3899
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3899#FFFFFF#000000##FFFFFF
##2B38991.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3899;
/* rgb */ color: rgb(43, 56, 153);
/* oklch */ color: oklch(39.5% 0.158 271.3);
Tailwind
colors: {
  custom: {
    50: '#746eb8',
    500: '#2b3899',
    950: '#000000',
  },
}
SCSS
$custom: #2b3899;
$custom-light: #746eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3899",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 232.909,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39494,
    "c": 0.15759,
    "h": 271.3
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#2B3899
secondary
#BCB164
accent
#CE48DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3899

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

Preview Lab → · Contrast checker → · Palette generator →

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