#2B399B#2B399B

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

Color values

HEX#2B399B
RGBrgb(43, 57, 155)
HSLhsl(233, 57%, 39%)
HSVhsv(233, 72%, 61%)
CMYKcmyk(72.3%, 63.2%, 0%, 39.2%)
CIE-LABlab(28.92, 28.88, -55.09)
CIE-LCHlch(28.92, 62.20, 297.66°)
OKLaboklab(39.86% 0.0026 -0.1591)
OKLCHoklch(39.86% 0.159 270.9)
XYZxyz(8.3738, 5.8056, 31.6833)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B399B #9B8D2B
analogous
#2B719B #2B399B #552B9B
triadic
#2B399B #9B2B39 #399B2B
tetradic
#2B399B #9B2B71 #9B8D2B #2B9B55
square
#2B399B #9B2B71 #9B8D2B #2B9B55
split-complementary
#2B399B #9B552B #719B2B
monochromatic
#10163B #1E276B #2B399B #3B4CC9 #6B78D6

Accessibility & contrast

On white

9.72
#2B399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B399B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B399B#FFFFFF#000000##FFFFFF
##2B399B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b399b;
/* rgb */ color: rgb(43, 57, 155);
/* oklch */ color: oklch(39.9% 0.159 270.9);
Tailwind
colors: {
  custom: {
    50: '#746fb9',
    500: '#2b399b',
    950: '#000000',
  },
}
SCSS
$custom: #2b399b;
$custom-light: #746fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b399b",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 232.5,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.15908,
    "h": 270.9
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#2B399B
secondary
#BCB265
accent
#CD48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2B399B

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

Preview Lab → · Contrast checker → · Palette generator →

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