#2B389F#2B389F

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

Color values

HEX#2B389F
RGBrgb(43, 56, 159)
HSLhsl(233, 57%, 40%)
HSVhsv(233, 73%, 62%)
CMYKcmyk(73%, 64.8%, 0%, 37.6%)
CIE-LABlab(29.02, 31.01, -57.36)
CIE-LCHlch(29.02, 65.20, 298.40°)
OKLaboklab(40.04% 0.0032 -0.1657)
OKLCHoklch(40.04% 0.166 271.1)
XYZxyz(8.6663, 5.8443, 33.4655)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B389F #9F922B
analogous
#2B729F #2B389F #582B9F
triadic
#2B389F #9F2B38 #389F2B
tetradic
#2B389F #9F2B72 #9F922B #2B9F58
square
#2B389F #9F2B72 #9F922B #2B9F58
split-complementary
#2B389F #9F582B #729F2B
monochromatic
#11163F #1E276F #2B389F #3D4DCA #6D79D7

Accessibility & contrast

On white

9.68
#2B389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B389F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B389F#FFFFFF#000000##FFFFFF
##2B389F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b389f;
/* rgb */ color: rgb(43, 56, 159);
/* oklch */ color: oklch(40.0% 0.166 271.1);
Tailwind
colors: {
  custom: {
    50: '#756ebc',
    500: '#2b389f',
    950: '#000000',
  },
}
SCSS
$custom: #2b389f;
$custom-light: #756ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b389f",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 233.276,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.16575,
    "h": 271.1
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#2B389F
secondary
#BEB567
accent
#CF47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B389F

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

Preview Lab → · Contrast checker → · Palette generator →

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