#2B389A#2B389A

#2B389A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.159 H 271.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2B389A
RGBrgb(43, 56, 154)
HSLhsl(233, 56%, 39%)
HSVhsv(233, 72%, 60%)
CMYKcmyk(72.1%, 63.6%, 0%, 39.6%)
CIE-LABlab(28.58, 29.17, -55.04)
CIE-LCHlch(28.58, 62.29, 297.92°)
OKLaboklab(39.59% 0.0034 -0.1589)
OKLCHoklch(39.59% 0.159 271.2)
XYZxyz(8.2412, 5.6742, 31.2265)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B389A #9A8D2B
analogous
#2B6F9A #2B389A #552B9A
triadic
#2B389A #9A2B38 #389A2B
tetradic
#2B389A #9A2B6F #9A8D2B #2B9A55
square
#2B389A #9A2B6F #9A8D2B #2B9A55
split-complementary
#2B389A #9A552B #6F9A2B
monochromatic
#10153A #1E276A #2B389A #3A4BC8 #6A77D5

Accessibility & contrast

On white

9.84
#2B389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B389A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B389A#FFFFFF#000000##FFFFFF
##2B389A1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b389a;
/* rgb */ color: rgb(43, 56, 154);
/* oklch */ color: oklch(39.6% 0.159 271.2);
Tailwind
colors: {
  custom: {
    50: '#746eb9',
    500: '#2b389a',
    950: '#000000',
  },
}
SCSS
$custom: #2b389a;
$custom-light: #746eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b389a",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 232.973,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39585,
    "c": 0.15896,
    "h": 271.2
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#2B389A
secondary
#BCB265
accent
#CE48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B389A

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

Preview Lab → · Contrast checker → · Palette generator →

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