#2B389E#2B389E

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

Color values

HEX#2B389E
RGBrgb(43, 56, 158)
HSLhsl(233, 57%, 39%)
HSVhsv(233, 73%, 62%)
CMYKcmyk(72.8%, 64.6%, 0%, 38%)
CIE-LABlab(28.93, 30.64, -56.90)
CIE-LCHlch(28.93, 64.62, 298.31°)
OKLaboklab(39.95% 0.0032 -0.1644)
OKLCHoklch(39.95% 0.164 271.1)
XYZxyz(8.5799, 5.8097, 33.0103)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B389E #9E912B
analogous
#2B729E #2B389E #572B9E
triadic
#2B389E #9E2B38 #389E2B
tetradic
#2B389E #9E2B72 #9E912B #2B9E57
square
#2B389E #9E2B72 #9E912B #2B9E57
split-complementary
#2B389E #9E572B #729E2B
monochromatic
#11163E #1E276E #2B389E #3C4CCA #6C78D7

Accessibility & contrast

On white

9.71
#2B389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B389E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B389E#FFFFFF#000000##FFFFFF
##2B389E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b389e;
/* rgb */ color: rgb(43, 56, 158);
/* oklch */ color: oklch(40.0% 0.164 271.1);
Tailwind
colors: {
  custom: {
    50: '#756ebc',
    500: '#2b389e',
    950: '#000000',
  },
}
SCSS
$custom: #2b389e;
$custom-light: #756ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b389e",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 233.217,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.1644,
    "h": 271.1
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#2B389E
secondary
#BEB467
accent
#CF47E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B389E

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

Preview Lab → · Contrast checker → · Palette generator →

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