#2B389D#2B389D

#2B389D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.163 H 271.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2B389D
RGBrgb(43, 56, 157)
HSLhsl(233, 57%, 39%)
HSVhsv(233, 73%, 62%)
CMYKcmyk(72.6%, 64.3%, 0%, 38.4%)
CIE-LABlab(28.84, 30.27, -56.43)
CIE-LCHlch(28.84, 64.04, 298.21°)
OKLaboklab(39.86% 0.0033 -0.163)
OKLCHoklch(39.86% 0.163 271.1)
XYZxyz(8.4942, 5.7754, 32.5589)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B389D #9D902B
analogous
#2B719D #2B389D #572B9D
triadic
#2B389D #9D2B38 #389D2B
tetradic
#2B389D #9D2B71 #9D902B #2B9D57
square
#2B389D #9D2B71 #9D902B #2B9D57
split-complementary
#2B389D #9D572B #719D2B
monochromatic
#11163D #1E276D #2B389D #3C4CCA #6C78D7

Accessibility & contrast

On white

9.74
#2B389D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B389D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B389D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B389D#FFFFFF#000000##FFFFFF
##2B389D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b389d;
/* rgb */ color: rgb(43, 56, 157);
/* oklch */ color: oklch(39.9% 0.163 271.1);
Tailwind
colors: {
  custom: {
    50: '#756ebb',
    500: '#2b389d',
    950: '#000000',
  },
}
SCSS
$custom: #2b389d;
$custom-light: #756ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b389d",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 233.158,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3986,
    "c": 0.16304,
    "h": 271.1
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#2B389D
secondary
#BDB466
accent
#CF48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B389D

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

Preview Lab → · Contrast checker → · Palette generator →

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