#2B389C#2B389C

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

Color values

HEX#2B389C
RGBrgb(43, 56, 156)
HSLhsl(233, 57%, 39%)
HSVhsv(233, 72%, 61%)
CMYKcmyk(72.4%, 64.1%, 0%, 38.8%)
CIE-LABlab(28.75, 29.91, -55.97)
CIE-LCHlch(28.75, 63.46, 298.12°)
OKLaboklab(39.77% 0.0033 -0.1616)
OKLCHoklch(39.77% 0.162 271.2)
XYZxyz(8.4091, 5.7414, 32.1111)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B389C #9C8F2B
analogous
#2B719C #2B389C #572B9C
triadic
#2B389C #9C2B38 #389C2B
tetradic
#2B389C #9C2B71 #9C8F2B #2B9C57
square
#2B389C #9C2B71 #9C8F2B #2B9C57
split-complementary
#2B389C #9C572B #719C2B
monochromatic
#11163C #1E276C #2B389C #3B4BC9 #6B77D6

Accessibility & contrast

On white

9.77
#2B389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B389C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B389C#FFFFFF#000000##FFFFFF
##2B389C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b389c;
/* rgb */ color: rgb(43, 56, 156);
/* oklch */ color: oklch(39.8% 0.162 271.2);
Tailwind
colors: {
  custom: {
    50: '#756eba',
    500: '#2b389c',
    950: '#000000',
  },
}
SCSS
$custom: #2b389c;
$custom-light: #756eba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b389c",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 233.097,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39768,
    "c": 0.16168,
    "h": 271.2
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#2B389C
secondary
#BDB366
accent
#CF48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2B389C

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

Preview Lab → · Contrast checker → · Palette generator →

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